Week 2: Data types, control flow, classes and objects

Values, references, loops and making objects.

Key points, notes and past questions

Core Java and the Runtime Memory Model

References, the call stack and what == compares.

Notes3 past questions in this topic

Cloning and Copy Constructors

Shallow and deep copies, seen as arrows between objects.

Notes9 past questions in this topic

12 past questions are linked to this week's topics. A topic taught over several weeks appears on each of them.

Week 1: Java basics, memory, OOP ideasWeek 3: Inheritance, polymorphism, class hierarchy, modifiersAll Java topics and weeks