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 Heap and Stack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Heap and Stack" Watch "Heap and Stack" New topic

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
"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:
subject: Heap and Stack
It's not a secret anymore!