Is a relationship example?

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.

Sizin İçin Seçtik  Inappropriate sinus Tachycardia nedir?

Leave a Reply

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

Is a relationship example?

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.

Sizin İçin Seçtik  What is inheritance How is it different from aggregation in Java?

Leave a Reply

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