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 does and I oop mean?
What exactly is polymorphism?
What is encapsulation c#?
Which is better struts or spring?
Whats is abstraction in oops?
What does oop mean in snapchat?
Why do we use polymorphism?
Can a destructor be called directly?
What are two types of polymorphism?
What does and I oop and sksksk mean?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
write knight tour problem which is present in datastructure
What type of loop is a for loop?
Why is polymorphism needed?
What are the features of oop?