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 / axuu

Inheritance offers the following advantages --

Developement model closer to real life object model with
hierarchical relationships
Reusability -- facility to use public methods of base class
without rewriting the same
Extensibility -- extending the base class logic as per
business logic of the derived class
Data hiding -- base class can decide to keep some data
private so that it cannot be altered by the derived class

Is This Answer Correct ?    32 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what's the basic's in dot net

2179


Why do we need oop?

1188


Explain the concepts involved in Object Oriented programming.

1227


What is the example of polymorphism?

1123


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2241


What is for loop and its syntax?

1082


any one please tell me the purpose of operator overloading

2397


What is property in oops?

1061


What is cohesion in oop?

1054


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2534


What do you mean by Encapsulation?

1091


Why multiple inheritance is not possible?

1067


How is class defined?

1132


What does enum stand for?

1117


What is difference between multiple inheritance and multilevel inheritance?

1146