Why does Java uses heap for memory allocation?
Posted
by happysoul
on Stack Overflow
See other posts from Stack Overflow
or by happysoul
Published on 2010-05-07T09:47:53Z
Indexed on
2010/05/07
9:58 UTC
Read the original article
Hit count: 222
I just read this statement in a java book saying Objects in java reside on a heap. Is a heap used because it is the best way to store data and retrieve data fast ?
I only have an idea about data structures being a beginner. I mean why not stack or something else ?
© Stack Overflow or respective owner