Density = (mass) / (volume)
Density = (20 g) / (5 cm³)
Density = 4 g/cm³ .
The density of the substance is greater than the density of water. A lump of the substance will sink in water, unless the lump is formed into a shape that displaces 20 cm³ of water or more, such as a tiny boat shape.