File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "primitive Storage" Watch "primitive Storage" New topic

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 !


Campbell Ritchie

Joined: Oct 13, 2005
Posts: 45358
Java™ Language Specification: look at §4.2 and §4.2.3. Remember: 8 bits = 1 byte.
I agree. Here's the link:
subject: primitive Storage
It's not a secret anymore!