1
Association, Aggregation, Composition
OOP
- Association โ a general relationship: a Teacher teaches a Student.
- Aggregation (has-a, weak) โ the part can exist alone: a Department has Teachers; if the department closes, teachers still exist.
- Composition (has-a, strong) โ the part cannot exist without the whole: a House has Rooms; delete the house, the rooms are gone.