1.

If hybrid inheritance is used, it mostly shows _______________ feature of OOP.(a) Flexibility(b) Reusability(c) Efficiency(d) Code readabilityI got this question by my college professor while I was bunking the class.I'd like to ask this question from Hybrid Inheritance in portion Inheritance & its Types of Object Oriented Programming

Answer»

Correct option is (b) Reusability

The explanation: The code is reusable in most of the classes and the data BECOMES more linked to other classes. Other FEATURES are also exhibited, but the code reusability is used the most. Code readability becomes relatively less. FLEXIBILITY INCREASES but it depends on how the hybrid INHERITANCE is used.



Discussion

No Comment Found

Related InterviewSolutions