• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

object

 
prasad valeti
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is the object size is same in all operatig systems
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic