1.

Which symbol is used to create multiple inheritances?(a) Dot(b) Comma(c) Dollar(d) starThis question was posed to me in an international level competition.This interesting question is from Multiple Inheritance in division Class Hierarchies, Library & Containers of C++

Answer» CORRECT option is (b) COMMA

The best I can explain: For USING MULTIPLE inheritance, simply specify each base class (just like in single inheritance), SEPARATED by a comma.


Discussion

No Comment Found

Related InterviewSolutions