We have had a few long or rather very long topics in the previous chapters. Below is a quick recap of what we learnt in the previous chapters:
Stack and Heap:
• Local variables live in the stack
• Objects and their instance variables live on the heap
Literals and Primitive Casting:
• Integer literals can be decimal, octal or hexadecimal
• Literals for Longs end with either l or L
• Float