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 moreIs aggregation inherited Java?
Aggregation is a term which is used to refer one way relationship between two objects . … In Java, aggregation represents HAS-A relationship, which means when a class contains reference of another class known to have aggregation. The HAS-A relationship is based on usage, rather than inheritance.
Read more