1.

How many types of inheritance are there in c++?(a) 2(b) 3(c) 4(d) 5I have been asked this question in exam.The origin of the question is Class Hierarchies and Abstract Classes in division Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Correct option is (d) 5

The best I can explain: There are FIVE types of inheritance in C++. They are SINGLE, Multiple, HIERARCHICAL, MULTILEVEL, Hybrid.



Discussion

No Comment Found

Related InterviewSolutions