No, certain primitive monotreme mammals lay hard-shelled eggs instead.
Question's Long Description
While the vast majority of mammals give birth to live young, primitive evolutionary lineages known as monotremes (such as the platypus and echidna) reproduce by laying eggs.
Solar energy is power obtained from the sun’s radiation. It’s captured using solar panels or mirrors and converted into electricity or heat. It’s renewable, clean, and reduces dependence on fossil fuels.