B 3.2.4 Composition and aggregation Python (HL Only)
This section explores composition and aggregation in OOP, focusing on how to design objects using smaller components. It differentiates between aggregation (subcomponents can exist independently) and composition (subcomponents tightly coupled, cannot exist outside the aggregating class). In Object-Oriented Programming (OOP), classes don't exist in isolation. They often need to interact and work together to model...