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

Give 2 examples of a code optimization?

4 Answers  


What do you mean by ‘void’ return type?

0 Answers  


What is a hash function c++?

0 Answers  


how to access grid view row?

0 Answers  


What is binary object model?

0 Answers  


What is cout flush?

0 Answers  


What does new in c++ do?

0 Answers  


What relational operators if statements in c++?

0 Answers  


What is scope in c++ with example?

0 Answers  


What is an object in c++?

1 Answers  


Is c++ free?

0 Answers  


How do pointers work?

0 Answers  


Categories