This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Heap and Stack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Heap and Stack" Watch "Heap and Stack" New topic
Author

Heap and Stack

Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
These terms come into picture when an object is created. Can anyone please make clear, the concept of a heap and a stack?

Thanks in advance.


RAGHU<br /> <br />"When the going gets tough, the tough get going"
Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
See
"Everything is an object, Part 1"
by Bruce Eckel. Scroll down to the subtitle "Where storage lives" for your answer.


Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Heap and Stack
 
Similar Threads
Where do primitive types live?
When will a variable use memory from stack and when will use memory from heap?
Where do static variables (class variables) live (scope)?
JVM memory management
Heap / Stack