This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Interview Guide this week in the Jobs Discussion forum!
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!