508. Does Java provide any construct to find out the size of an object?
Java Interview Questions and Answers (part 3)
(Continued from previous question...)
No there is not sizeof operator in Java. So there is not direct way to determine the size of an object directly in Java.
(Continued on next question...)
Other Interview Questions