This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "object" Watch "object" New topic


prasad valeti

Joined: Oct 18, 2005
Posts: 7
is the object size is same in all operatig systems
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
This is not a relevant question for SCJP. However, the answer is possibly not. Object references have an unspecified size so that could possibly vary from implementation to implementation (for instance 16/32/64 bit addressing).

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: object
Similar Threads
generics - why does this work?
MultiDimenaional Array sort
Thread and Object
WA #1.....word association