This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Heap / Stack Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Heap / Stack" Watch "Heap / Stack" New topic
Author

Heap / Stack

anita dhar
Ranch Hand

Joined: May 24, 2007
Posts: 34
What is the use of Heap and stack where we are using heap and where stack
Amir Alagic
Ranch Hand

Joined: Mar 21, 2006
Posts: 65
hope that text on link below will help you to get picture what is heap and what is stack: http://www.phptr.com/articles/article.asp?p=31755&seqNum=8&rl=1
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

While I think it's excellent for any developer to have a firm grasp of memory use when programming and how all that works, from a beginner's perspective, the beauty of Java is that you don't really need to concern yourself with either.


GenRocket - Experts at Building Test Data
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Hi all!

Originally posted by Gregg Bolinger:
While I think it's excellent for any developer to have a firm grasp of memory use when programming and how all that works, from a beginner's perspective, the beauty of Java is that you don't really need to concern yourself with either.


From a more advanced perspective, that might not look so beatiful though .


Leandro Melo
SCJP 1.4, SCWCD 1.4
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Leandro Melo:
Hi all!
From a more advanced perspective, that might not look so beatiful though .


Granted, but this is the beginner forum, after all.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Heap / Stack
 
Similar Threads
Where do static variables go?stack/heap
if method is on Stack and object is on heap then where do Static method is stored
Stack and Heap
Heap and Stack
where the code is stored is it in RAM or CPU register