A student divides several cubes into two groups, based on whether or not each cube can float in water. What property is the student using to classify the cubes?
A weight
B density
C conductivity
D mass