When a subclass inherits from a subclass, it typically inherits both the implementation and the interface. This, in turn, means that you’re forced to accept both as constraints on your class. With aggregation, you get to choose either implementation or interface, or both — but you’re not forced into either .6 Kas 2008
Read moreWhat is the difference between aggregation and composition in Java?
In Aggregation, objects can remain in the scope of a system without each other. In a composition relationship, objects cannot remain in the scope of a system without each other .
Read more