The density of an object would be changed by changing the object's volume or its MASS.