B 3.2.1 Inheritance in OOP Java (HL Only)
This section explores inheritance in OOP for code reusability. It explains hierarchical relationships between parent and child classes, how to extend classes, and the impact of access modifiers (private, public, protected, default) on inherited members. Inheritance is a fundamental pillar of OOP that allows a new class (the child class or subclass) to inherit properties and behaviours from an existing class (the...