What is the 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  Can you use C# for blockchain?

Leave a Reply

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

What is the 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 composition in OOP Python?

Leave a Reply

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