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

Features or Advantages of Inheritance:

---Reusability:

Inheritance helps the code to be reused in many
situations. The base class is defined and once it is
compiled, it need not be reworked. Using the concept of
inheritance, the programmer can create as many derived
classes from the base class as needed while adding specific
features to each derived class as needed.

---Saves Time and Effort:

The above concept of reusability achieved by inheritance
saves the programmer time and effort. Since the main code
written can be reused in various situations as needed.

---Increases Program Structure which results in greater
reliability.

www.hamidraza.page.tl

Is This Answer Correct ?    121 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can bst contain duplicates?

1142


write string class as your own class in java without using any built-in function

2443


What is advantage of inheritance?

1128


What are the benefits of interface?

993


What is debug class?what is trace class? What differences are between them? With examples.

2134


What is difference between oop and pop?

1102


What is overloading in oops?

1092


Can we define a class within the interface?

987


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3407


Why is oop useful?

1033


Explain the advantages of inheritance.

1076


What is an advantage of polymorphism?

1030


What does it mean when someone says I oop?

1016


What is the main purpose of inheritance law?

1147


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1869