no they are not the same material because having the same density doesnt mean its the same material also they can have a different density and be the same material
no they don't have to be the same material. for example A watch made of gold and a brick made of gold have different masses and volumes, but they can have the same density.