Which JVM memory area is cleared automatically when a thread is terminated?

Last Updated :
Discuss
Comments

Which JVM memory area is cleared automatically when a thread is terminated?

Stack Memory


Heap Memory

Method Area

Native Area

Share your thoughts in the comments