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 polymorphism what are the different types of polymorphism?
Why is abstraction used?
What does oop mean in snapchat?
what are the ways in which a constructors can be called?
what is the drawback of classical methods in oops?
which feature are not hold visual basic of oop?
What is difference between inheritance and polymorphism?
What does and I oop mean in text?
What is encapsulation process?
i got a backdoor offer in process global,Bangalore..Can i work with it?
why reinterpret cast is considered dangerous?
What is oops and why we use oops?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is encapsulation in ict?
is there any choice in opting subjects like 4 out of 7