If base class contains 2 nested classes, will it be possible to implement single level inheritance?
(a) Yes, always
(b) Yes, only if derived class also have nested classes
(c) No, it will use more than 2 classes which is wrong
(d) No, never
The question was asked during an online interview.
The origin of the question is Single Level Inheritance topic in section Inheritance & its Types of Object Oriented Programming