Java stack and heap definitions
Briefly

A Java virtual machine stack stores frames analogous to the stack in C, holding local variables and participating in method invocation and return.
The Java heap is shared among all threads, used for allocation of memory for class instances and arrays, managed by garbage collection, and can dynamically change in size.
Read at Alvinalexander
[
add
]
[
|
|
]