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 |
What is heap sort in c++?
Why was c++ created?
Define friend function.
What is the purpose of the "delete" operator?
How is objective c different from c++?
Is there a new/delete equivalent of realloc?
Write the program for fibonacci in c++?
What are activex and ole?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
Can we make copy constructor private in c++?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Is c++ slower than c?