• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stack and Heap  RSS feed

 
Adam Altmann
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone please explain to me the difference between the two?
Thanks.
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stack is where the primitives are stored and Heap is where the Objects are stored.
 
chi Lin
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marilyn,
your post trigger something on my menory (not sure if it is valid)
How about object references ? In stack too ?

Originally posted by Marilyn de Queiroz:
Stack is where the primitives are stored and Heap is where the Objects are stored.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!