What are the differences between composition and aggregation explain with example?

The main difference between aggregation and composition is that aggregation is an association among two objects that have the “has a” relationship while the composition is a special type of aggregation that describes ownership . Object-Oriented Programming (OOP) is a major paradigm in software engineering.

Sizin İçin Seçtik  Is aggregation inherited Java?

Leave a Reply

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

What are the differences between composition and aggregation explain with example?

The main difference between aggregation and composition is that aggregation is an association among two objects that have the “has a” relationship while the composition is a special type of aggregation that describes ownership . Object-Oriented Programming (OOP) is a major paradigm in software engineering.

Sizin İçin Seçtik  How inheritance is different from aggregation in Java?

Leave a Reply

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