Which (stack or heap) memory will be allocated when an object is created using new operater?

Showing Answers 1 - 6 of 6 Answers

mmptce

  • Sep 25th, 2007
 

Heap memory is allocated for the objects and the instance variables that are created by using new operator.
Stack memory is for the method call and thread call.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions