Subject not found.
1.

Discuss various reasons that support the concept of inheritance in Object Oriented Languages.

Answer»

The reasons that support the existence of inheritance concept in OO Languages are:

1. ‘Inheritance’ is capable of expressing the inheritance relationship of real-world models.

2. ‘Inheritance’ facilitates the code reusability.

3. ‘Inheritance’ is capable of simulating the transitive nature of real-world’s inheritance



Discussion

No Comment Found

Related InterviewSolutions