sizeof in java



Hi friends,

i have one doubt. java does not have sizeof(). so how can i know the
size of the objects in java.

thanks

.