Which determines whether an object will float in water?

A) The size of the object. Larger objects have more mass so they sink.
B) The size of the object. Smaller objects have less surface area, so they sink.
C) The mass of the object. Larger objects have more mass, so they sink.
D) The density of the object. Objects will sink if their density is greater than that of water.