What is the difference between aggregation and composition?

Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation.

Sizin İçin Seçtik  What is uses a relationship in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is the difference between aggregation and composition?

Aggregation means one object is the owner of another object. Composition means one object is contained in another object . The direction of a relation is a requirement in both Composition and Aggregation.

Sizin İçin Seçtik  Has a and IS-A relationship in oops?

Leave a Reply

Your email address will not be published. Required fields are marked *