1.

Which type of inheritance is most suitable for inheriting Same syllabus into different colleges with different streams?(a) Multiple(b) Single(c) Hierarchical(d) MultilevelI have been asked this question during an online exam.I'd like to ask this question from Hierarchical Inheritance topic in division Inheritance & its Types of Object Oriented Programming

Answer»

The correct choice is (C) Hierarchical

For explanation: When hierarchical inheritance is used, the COMMON syllabus can be adopted into different college CLASSES where the same syllabus is applicable. For changing the syllabus only the details of base class will have to changed.



Discussion

No Comment Found

Related InterviewSolutions