Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Heap and Stacks  RSS feed

 
Ola Olusegun
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Please can someone explain to me the java concept of heaps and stacks.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Honestly, questions like "what is XXX" are usually best handled by a quick google search. There are probably hundreds of sites out there that explain it much better than someone could do here.

Then, if you have specific questions, come back and ask those.

However...I'm not sure there is a JAVA concept of a heap and a stack. Those terms pre-date java.

Finally, it depends on whether you are talking about memory management or data structures.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!