What happens when an object is created in Java?

Last Updated :
Discuss
Comments

What happens when an object is created in Java?


The object is created in Stack Memory


The object is created in Heap Memory

The object is created in Method Area

The object is created in the CPU register

Share your thoughts in the comments