1.

If a class is being derived using more than two base classes, which inheritance will be used?(a) Single(b) Multi-level(c) Hierarchical(d) MultipleI had been asked this question in homework.Question is from Derived Class in chapter Classes of Object Oriented Programming

Answer» CORRECT option is (d) Multiple

To explain: The statement given is the definition of multiple INHERITANCE with respect to the derived class. The concept can be ILLUSTRATED with many other samples but the main ASPECTS are base class and derived class only.


Discussion

No Comment Found

Related InterviewSolutions