Which type of relationship is modelled by Inheritance?

a) Is-A relationship
b) Has-A relationship
c) Part-Of relationship
d) Belongs-to relationship

1 thought on “Which type of relationship is modelled by Inheritance?”

  1. a
    Explanation: Inheritance models Is-A type of relationship between classes. This is because in this case derived class inherits all property of the base class and Is-A type of B class.

Leave a Comment