标题: [Oracle interview]Does Java provide any construct to find out the size of an object? [打印本页] 作者: 于郑生 时间: 2013-8-16 15:55 标题: [Oracle interview]Does Java provide any construct to find out the size of an object? 作者: 姜青林 时间: 2013-8-16 16:02
No there is not sizeof operator in Java. So there is not direct way to determine the size of an object directly in Java.