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 five types of inheritance in C++?

Answer Posted / nashiinformaticssolutions

1. Single inheritance, in which only one base class passes on inheritance to the derived class
2. Multiple inheritance, in which two or more base classes pass on their inheritance to the derived class
3. The derived class inherits from another derived class through multilevel inheritance.

4. Hybrid inheritance, which combines two or more distinct inheritance models
5. Hierarchical inheritance, in which a single base class gives rise to two or more derived classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will rust take over c++?

1022


Is c++ low level?

996


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1041


What is dev c++ used for?

990


When do you call copy constructors?

1097


What is the real purpose of class – to export data?

1072


What are manipulators used for?

1056


What are the effects after calling the delete this operator ?

1006


What is called array?

1031


What is an operator in c++?

1010


Describe the setting up of my member functions to avoid overriding by the derived class?

1090


What is the oldest programming language?

964


What are default parameters? How are they evaluated in c++ function?

1143


What is array in c++ pdf?

1110


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

1180