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

inheritance is a process by which object of one class
acquire the properties from the object of another class.
the major advantage of inheritance is reusability which
means that we can add additional feauters into an existing
class without modifying it. this is possible by deriving a
new class from an existing one. i.e. creating new class
called derived class from an existing or created earlier
class called base class. the derived class will have the
combined features of both the classes.

Is This Answer Correct ?    56 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can inline function declare in private part of class?

4502


What is the difference between inheritance and polymorphism?

1166


What is the real time example of inheritance?

1213


What does and I oop and sksksk mean?

1232


What is the point of oop?

1265


What type of loop is a for loop?

1140


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1695


What is inheritance in simple words?

1120


What is for loop and its syntax?

1137


Where You Can Use Interface in your Project

1941


What are the important components of cohesion?

1080


What is multilevel inheritance in oop?

1091


What is abstract class in oop?

1067


What is a superclass in oop?

1223


What are the benefits of polymorphism?

1366