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

How to declare an array of pointers to integer?

1069


write a function signature with various number of parameters.

989


What is runtime errors c++?

1065


What is the use of c++ programming language in real life?

977


What is the array and initializing arrays in c++?

981


Show the declaration for a pointer to function returning long and taking an integer parameter.

1064


Why c++ is better than c language?

955


Write about the various sections of the executable image?

931


What are the advantages of inheritance in c++?

1043


what is a class? Explain with an example.

1100


Define namespace in c++?

998


What are vtable and vptr?

1079


What do c++ programmers do?

1012


What is namespace & why it is used in c++?

1037


Array base access faster or pointer base access is faster?

2238