Yahoo interview question

Difference between memory allocation of stack and heap

Interview Answer

Anonymous

13 Dec 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