Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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 static variables (class variables) live (scope)?
JVM memory management
Where do primitive types live?
Heap / Stack
When will a variable use memory from stack and when will use memory from heap?