JAVA
Difference between Java Heap Space and Stack Memory
Based on my previous post related to Java Memory Allocation – Heap and Stack let’s see the difference. Heap Space Stack Memory Heap memory is used by all the parts of the application. Stack memory is used only by one thread of execution. Whenever an object is created, it’s always stored in Read more…