In Java, what is true about Heap Memory?
Heap Memory stores method calls and references to variables
Heap Memory is where instance objects are created and stored
Heap Memory is automatically deallocated when methods return
Heap Memory is used for storing thread-related information
This question is part of this quiz :
Java Heap vs Stack