Stack vs Heap Memory
Global Memory
Store the global variables and static variables
Stack Memory
Store primitive local variables, references of objects and functions
Usually variables are known when compile time
Heap
Store the dynamic variables, objects
Usually variables are known when run time
Stack Overflow
Max int = 2^31 (1 bit for sign)
The use of stacks is out of limitation.