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

Tell me an example where stacks are useful?

1035


Explain the concept of memory leak?

1108


Can we delete this pointer in c++?

1222


What is abstraction in c++?

1356


What is the use of pointer in c++ with example?

1045


Does c++ have string data type?

1106


Why is c++ is better than c?

978


What is the use of cmath in c++?

1070


What is the best ide for c++?

1094


What is flush () in c++?

1081


Is c or c++ more useful?

1050


How are virtual functions implemented in c++?

1071


What is the use of namespace std in C++?

1071


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3850


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

1127