This is a difficult question to answer exactly since density = mass/volume and there is no way of measuring the mass or volume of a planet exactly, but the estimations are as follows:
1) Mercury...
The Terrestrial planets have a higher density. Their structure includes a large percentage of rock, while the Jovian planets are composed mostly of gas.