Two objects have the same mass, but one object occupies a smaller volume than the other. Which statement about the objects must be true?
A.The two objects have the same weights.
B.The two objects have different densities.
C.The two objects have different temperatures.
D.The two objects are composed of the same substances.