IS-A relationship in oops?

In OOP, IS-A relationship is completely inheritance . This means, that the child class is a type of parent class. For example, an apple is a fruit. So you will extend fruit to get apple.

Sizin İçin Seçtik  What is the main difference between aggregation and composition?

Leave a Reply

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