Yahoo Interview Question

Difference between memory allocation of stack and heap

Interview Answer

Anonymous

Dec 13, 2011

Stack is a memory place where the methods and the local variables are stored. Heap is a memory place where the objects and its instance variable are stored.

2