if mass increases and the volume remains constant, the density will also increase. As we know
density =mass/ volume . where mass is directly proportional to density so when mass increase density is likely to increase. and volume is inversely proportional to density, if volume decrease the density will increase and vice-versa.