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
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