What are the advantages of inheritance?
Answer Posted / k.kirankumar
1.reusability(that is we can use same code in different
versions(class etc..)
2.avoids tyoing of code again and again(code compatability)
3.cost(in sense their no need compile same code for many
number times regardless of its usage)
4.maintance is very because the in inheritance formart is
in the modules so that it is easy to find the errors in
the small module instead of finding errors in many no.of
lines at time
5.the bove feature will reduce testing effort.
Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is a function in oop?
What do you mean by variable?
What are the features of oop?
#include
What is abstraction in oop?
What is polymorphism oop?
What is for loop and its syntax?
What is the full form of oops?
What is overloading and its types?
Can a destructor be called directly?
Why multiple inheritance is not possible?
What are the benefits of polymorphism?
write knight tour problem which is present in datastructure
Why do we use polymorphism?
How do you explain polymorphism?