This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes primitive Storage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "primitive Storage" Watch "primitive Storage" New topic
Author

primitive Storage

karimkhan pathan
Ranch Hand

Joined: Jul 14, 2008
Posts: 86
Hi all,

where will the memory allocation for a primitive values ?

The objects memory is in the heap !

Thanks,
karim.


karim
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43935
    
  33
Java™ Language Specification: look at §4.2 and §4.2.3. Remember: 8 bits = 1 byte.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: primitive Storage
 
It's not a secret anymore!