When an object is created in Java, where is it stored?

Last Updated :
Discuss
Comments

When an object is created in Java, where is it stored?

Stack Memory

Method Area

Heap Memory

Native Memory

Share your thoughts in the comments