When two bodies $A$ and $B$ are in thermal equilibrium
(a) the KE of all the molecules of $A$ and $B$ will be equal
(b) the PE of all the molecules of $A$ and $B$ will be equal
(c) the internal energies of the two bodies will be equal
(d) the average kinetic energy of the molecules of the two bodies will be equal