Which type of relationship is modelled by Inheritance?
(a) Is-A relationship
(b) Has-A relationship
(c) Part-Of relationship
(d) Belongs-to relationship
This question was addressed to me in an international level competition.
I would like to ask this question from Class Relationships in division Class Hierarchies, Library & Containers of C++