tag:blogger.com,1999:blog-499460786565996554.post665216406009174221..comments2023-04-12T17:53:52.880+05:30Comments on Java is the future !: Address of a Java ObjectAnonymoushttp://www.blogger.com/profile/04990026893506195372noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-499460786565996554.post-50374944383029793722012-06-27T17:54:44.248+05:302012-06-27T17:54:44.248+05:30Hi Chankey Pathak,
The output of the program is t...Hi Chankey Pathak,<br /><br />The output of the program is the offset of apple and orange variables, it is not the actual address of an object (ObjectLocation). But you can get the actual address of an object and you can do memory operations. Please refer http://jtechbits.blogspot.in/2012/03/getting-address-of-object.htmlRamesh A. Vhttps://www.blogger.com/profile/07049560249654832032noreply@blogger.com