Has a and IS-A relationship in oops?

An IS-A relationship is inheritance. The classes which inherit are known as sub classes or child classes. On the other hand, HAS-A relationship is composition. In OOP, IS-A relationship is completely inheritance.15 Eki 2018

Sizin İçin Seçtik  What is the composition of an object?

Leave a Reply

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