Introduction Examples Java Inheritance Example Why do we use inheritance? Limitations with Inheritance Extending a class is the
Tag: low level system design
Association
Introduction The association describes the relationships or connections between various objects. It represents a general relationship between objects
Composition
Introduction Code Why Composition over Inheritance? One of the main reasons to prefer composition over inheritance is to
Aggregation
Introduction The below diagram represents an Aggregation example. The above example can be interpreted as the College has