Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why do we use class?

1026


What is ambiguity in inheritance?

1052


officer say me - i am offered to a smoking , then what can you say

2044


What is polymorphism what is it for and how is it used?

971


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2323


What is inheritance in simple words?

1010


What is encapsulation with example?

1024


Get me an image implementation program.

1939


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

2050


What is protected in oop?

1010


Why do pointers exist?

1047


What is encapsulation in oops?

958


what type of questions

2065


Which method cannot be overridden?

1016


Why do we use inheritance?

1061