What is the difference between inheritance composition and aggregation?

The main difference between Inheritance and Composition is that inheritance allows using properties and methods of an existing class in the new class while composition is a special type of aggregation that describes the ownership between the associated objects.

Sizin İçin Seçtik  What is aggregation and composition in Java?

Leave a Reply

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

What is the difference between inheritance composition and aggregation?

The main difference between Inheritance and Composition is that inheritance allows using properties and methods of an existing class in the new class while composition is a special type of aggregation that describes the ownership between the associated objects.

Sizin İçin Seçtik  THETA coin en yüksek kaçı gördü?

Leave a Reply

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