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
This question is part of this quiz :
Java Memory Allocation