dcsimg
what is heap memory ? how it works ?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sachin_kataria
Posted On:   Monday, March 13, 2006 12:28 AM

what is heap memory ? how it works ?



how to implement concept of heap memory ?


pls help me....

Re: what is heap memory ? how it works ?

Posted By:   murali_dhar  
Posted On:   Monday, April 10, 2006 07:54 AM

All the objects that are created will be stored on the heap memory and the references are stored on the stack.

For thus purpose heap memory is used in java.

Re: what is heap memory ? how it works ?

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, March 19, 2006 03:07 PM

"heap" vs. "stack" is the usual use of the term, e.g. to distinguish one organization from the other ... where in a "stack" you can only "push" or "pop" the top element, but in a "heap" you can randomly access elements from anywhere in the heap, but the maximum extent of individual elements is constrained, by their position in the heap and consequently the size of their neighbors.
About | Sitemap | Contact