Which of the following is a characteristic of Heap Memory?

Last Updated :
Discuss
Comments

Which of the following is a characteristic of Heap Memory?

It is allocated and deallocated automatically

It stores references to variables and method calls

It has a limited size that can lead to StackOverflowErrors

It is cleared immediately after method execution

Share your thoughts in the comments