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
How is polymorphism achieved?
Which language is pure oop?
Can we override main method?
What are oops methods?
Can private class be inherited?
Is data hiding and abstraction same?
What is polymorphism what is it for and how is it used?
What are benefits of oop?
What does and I oop mean?
What polymorphism means?
What is destructor example?
What are constructors in oop?
What is class and object in oops?
Who invented oop?
• What are the desirable attributes for memory managment?