A moving body collides elastically with another body of equal mass at rest. Then
(A) a part of the energy is dissipated as heat.
(B) momentum is conserved but $\mathrm{KE}$ is not conserved.
(C) both masses start moving with the same velocity.
(D) the moving mass transfers whole of its energy to the mass at rest.