Register or Login to Your Account
Heap: All object stored in heap memory and it is dynamic. Stack: All static variable stored in stack.