I've always heard of the stack and heap, and being advanced topics, i tried not give them too much though
But here's a two quick bullet points which made the concepts really accessible
(taken straight from the book)
- When you call a method, the memory required for it's parameters and it's local variables is always acquired from...
Something thats probably "well duh" for the majority of you but it's new for me.
For those of you like me here's how this works,
int's(for clarity signed 32-bit integers) have a range from -2147483648 to 214748367.
Simple enough right.
Now what happens when you add 1 to 214748367. Well before today i thought that was...