What is difference between association aggregation and inheritance relationships?

Aggregation is “a part of” relationship . Example: A student object is a part of College object. Inheritance is a “is a “relationship where one or more classes are derived from a base class.

Sizin İçin Seçtik  React Native Components nedir?

Leave a Reply

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

What is difference between association aggregation and inheritance relationships?

Aggregation is “a part of” relationship . Example: A student object is a part of College object. Inheritance is a “is a “relationship where one or more classes are derived from a base class.

Sizin İçin Seçtik  What is aggregation in oops in C++?

Leave a Reply

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