CPP MCQ
Which type of relationship is modelled by Inheritance?
A)
Belongs-to relationship
B)
Part-Of relationship
C)
Is-A relationship
D)
Has-A relationship

Correct Answer : Option (C) :   Is-A relationship

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.