Learn Aggregation — a key concept for LLD interviews.
Interactive — Try it yourself!
How to use
1See University and Professor with an empty diamond (◇)
2Click "Delete University" — Professor survives!
3Professor can join another university — independent lifecycle
4Compare to composition: the diamond is empty (not filled)
In a nutshell
Aggregation is "has-a" with independent lifecycles. University has Professors, but Professors exist without the University. Like a team — members exist independently.