• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

primitive Storage

 
karimkhan pathan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

where will the memory allocation for a primitive values ?

The objects memory is in the heap !

Thanks,
karim.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49844
70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java™ Language Specification: look at §4.2 and §4.2.3. Remember: 8 bits = 1 byte.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic