Why does Java use Heap Data Structure to Store Object?
Or it does NOT use Heap "Data-Structure". The name given to the Memory for allocation(Pool of Memory) is just known as "Heap"?
If yes, then is that any relation between Heap Data-Structure and Heap as in Pool of Memory?
There's no relation between heap memory and heap the data structure. They just happen to share the same name.
Are you talking about the difference between heap memory and stack memory?
I would explain it, but this answer is pretty sweet
What and where are the stack and heap?
链接地址: http://www.djcxy.com/p/14540.html上一篇: 为什么参考类型存储在堆中?
下一篇: 为什么Java使用堆数据结构来存储对象?