jQuery in Action, 2nd edition*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes size of a reference variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "size of a reference variable" Watch "size of a reference variable" New topic

size of a reference variable

Jiji Cherian

Joined: Apr 15, 2005
Posts: 14
Hi there,
Last day my friend asked me a question for which i was not able to answer.
The Question is.
What is the bit size of a reference variable in java?
Please revert back with the right answer.
Thank You.

Rgds.<br /> <a href="mailto:mr.jiji@gmail.com" rel="nofollow">mr.jiji@gmail.com</a>
Ashwin Kumar

Joined: Oct 13, 2005
Posts: 27
Bit size of a reference variable is JVM dependant. It can be assumed as 32-bit but it is not guaranteed.

SCJP 1.4<br />SCBCD 5.0<br />SCWCD 1.4 (Preparing)
I agree. Here's the link: http://aspose.com/file-tools
subject: size of a reference variable