What are the advantages of inheritance?
Answer Posted / sidhi.r
In OOPs, the concept of inheritance provides the idea of
reusability. This means that we can add additional features
to an existing class without modifying it.
This is possible by deriving a new class from the existing
one. The new class will have combined features of both the
classes.
| Is This Answer Correct ? | 213 Yes | 35 No |
Post New Answer View All Answers
What is the difference between a mixin and inheritance?
What is the difference between inheritance and polymorphism?
What are the advantages of polymorphism?
Can abstract class have normal methods?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
what are the realtime excercises in C++?
What are benefits of oop?
What is the real time example of inheritance?
What is polymorphism and types?
How many human genes are polymorphic?
Please send ford technologies placement paper 2 my mail id
What is class and object with example?
Is enum a class?
What is inheritance and how many types of inheritance?
What polymorphism means?