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++?



What are the five types of inheritance in C++?..

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

More C++ General Interview Questions

Differentiate between a constructor and a method in C++.

0 Answers   Tech Mahindra,


How do I start a c++ project?

0 Answers  


If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?

0 Answers  


Explain what happens when a pointer is deleted twice?

0 Answers  


why all c++ program must have default constructor?

6 Answers   IBM,


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

0 Answers  


What are different types of loops in c++?

0 Answers  


Is sorted c++?

0 Answers  


You want to link a c++ program to c functions. How would you do it?

0 Answers  


which operator is used for performing an exponential operation a) > b) ^ c) none

0 Answers  


Which is not a valid keyword a) public b) protected c) guarded

0 Answers  


Is c++ used anymore?

0 Answers  


Categories