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 the drawback of classical methods in oops?
What is meant by oops concept?
What is polymorphism and why is it important?
What is class encapsulation?
What is the main feature of oop?
What is polymorphism in oop example?
What is difference between data abstraction and encapsulation?
What is difference between oop and pop?
Is react oop?
c++ program to swap the objects of two different classes
What is inheritance write a program to show use of inheritance?
What is new keyword in oops?
Why multiple inheritance is not possible?
What is multilevel inheritance in oop?
What is difference between multiple inheritance and multilevel inheritance?