This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Heap and Stack

Mulugeta Maru
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please shade some light on these two terms � heap allocated and stack allocated. Here is a sentence I am not sure what it means �Variables defined as primitive boolean type default to false on declaration within a class (i.e. heap allocated), but must be explicitly initialized within methods (i.e. stack allocated).
Can some one explain what all this means?
Dirk Schreckmann
Posts: 7023
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!