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
Can we sort map in c++?
How many types of comments are there in c++?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What are the advantages of early binding?
How do you declare A pointer to a function which receives nothing and returns nothing
What is meant by a delegate?
Out of fgets() and gets() which function is safe to use?
How much do coding jobs pay?
What do you understand by pure virtual function? Write about its use?
What happens when the extern "c" char func (char*,waste) executes?
How const int *ourpointer differs from int const *ourpointer?
How is new() different from malloc()?
What is the use of bit fields in structure declaration?
What is a container class? What are the types of container classes in c++?
Difference between pass by value and pass by reference?