Computer Science, asked by jyotisingh31282, 13 hours ago

how is reusability supported by inheritance​

Answers

Answered by ⲘⲓssRσѕє
2

Answer:

Inheritance supports the concept of “reusability”, i.e. when we want to create a new class and there is already a class that includes some of the c od e that we want, we can derive our new c la ss from the existing class. By doing this, we are reusing the fields and methods of the existing c l a s s.

Similar questions