IS-A relationship in OOP example?

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 5G phone advantage?

Leave a Reply

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