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 is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?

Answer Posted / vidhya alphonse

Inheritence is defined as the mechanism of deriving a new
class from an already existing class.The class from which
new class derived is called parent or bae class and the
derived one is called derived class.The new derived class
will have the characteristics of its own and the base class.
The main purpose of using inhertence concept is that
nothing but the reusability of code.Muliple inheritence
means deriving a new class from one or more base class.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism important in oop?

1030


What is the example of polymorphism?

1053


What is purpose of inheritance?

1068


c++ program to swap the objects of two different classes

2372


What is methods in oop?

938


Why do we use oop?

1054


Can static class have constructor?

999


Plese get me a perfect C++ program for railway/airway reservation with all details.

3851


What is polymorphism and example?

1004


Why multiple inheritance is not possible?

1032


What is meant by multiple inheritance?

1199


What is inheritance write a program to show use of inheritance?

1103


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

2148


How does polymorphism work?

1094


How do you achieve polymorphism?

1048