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

Which should be more useful: the protected and public virtuals?

0 Answers  


How to defines the function in c++?

0 Answers  


Explain how to initialize a const member data.

0 Answers  


What is scope in c++ with example?

0 Answers  


What is the difference between a definition and a declaration?

0 Answers  


Is it possible to provide default values while overloading a binary operator?

0 Answers  


Why was c++ created?

0 Answers  


What is the difference between struct and class?

1 Answers  


What is std namespace in c++?

0 Answers  


What is the difference between = and == in C?

20 Answers   Christ University, Intel,


Write about c++ storage classes?

0 Answers  


What do the header files usually contains?

0 Answers  


Categories