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

Which bitwise operator is used to check whether a particular bit is on or off?

1023


Why cstdlib is used in c++?

1001


How the virtual functions maintain the call up?

1101


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2538


What relational operators if statements in c++?

1129


What will happen if a pointer is deleted twice?

1137


How many characters are recognized by ANSI C++?

1365


What is a block in c++?

993


Can java be faster than c++?

1116


Explain queue. How it can be implemented?

1114


Which is the best c++ software?

1051


What is a c++ object?

1107


Why is c++ a mid-level programming language?

976


Which is better c++ or java?

936


Can I learn c++ without learning c?

959