Which measurements are needed in order to calculate the density of a given object?
A. Length and width
B. Mass and weight
C. Volume and temperature
D. Mass and volume