• Post Reply Bookmark Topic Watch Topic
  • New Topic

primitive Storage  RSS feed

 
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
Marshal
Posts: 56584
172
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!