What is relationship between aggregation and inheritance relationship?

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 the difference between aggregation and inheritance in C++?

Leave a Reply

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

What is relationship between aggregation and inheritance relationship?

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  How do you start a code in Java?

Leave a Reply

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