Yahoo Interview Question: Difference between memory all... | Glassdoor

Interview Question

Technical Yahoo Interview Santa Clara, CA

Difference between memory allocation of stack and heap


Interview Answer

1 Answer


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.

Bindu on Dec 13, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.