What Is-A relationship in Java?

A relationship in Java means different relations between two or more classes . For example, if a class Bulb inherits another class Device, then we can say that Bulb is having is-a relationship with Device, which implies Bulb is a device.1 Ara 2021

Sizin İçin Seçtik  IS-A relationship in OOP example?

Leave a Reply

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