File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Heap and Stack
Joined: Jan 05, 2007
Feb 07, 2007 21:35:00
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"
Joined: Oct 15, 2002
Feb 07, 2007 22:26:00
"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
Heap / Stack
When will a variable use memory from stack and when will use memory from heap?
Where do static variables (class variables) live (scope)?
Where do primitive types live?
JVM memory management
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014