Assuming you don't include time as a dimension, I think it would weigh infinite grams. Let's ignore mass for a second and take a look at volume and area. How much area does a 10x10x10 cube have from a 2 dimensional perspective? Given that a 2 dimensional object has 0 thickness, the area would be 10*10*10/0. The same concept applies to the first dimension. So if a 4 dimensional object had equal lengths of 10 for all dimensions, its volume would be 10*10*10*10/0. Multiply that by the the density and you get 78000/0 grams. So, basically, it would have infinite 3 dimensional mass.