whales do not lay eggs.
In fact whales are marine mammals, which means they share many of the same distinctive features as other mammalian species.
Some of these features include breathing air, going through pregnancy (commonly referred to as a gestation period) and giving birth, being born with hair (some species of whale actually have hair when they are born), being a warm-blooded species and having milk producing glands (i.e. mammary glands) to feed their young.
These same characteristics are also present among the dolphin and porpoise species.