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
How to declare an array of pointers to integer?
write a function signature with various number of parameters.
What is runtime errors c++?
What is the use of c++ programming language in real life?
What is the array and initializing arrays in c++?
Show the declaration for a pointer to function returning long and taking an integer parameter.
Why c++ is better than c language?
Write about the various sections of the executable image?
What are the advantages of inheritance in c++?
what is a class? Explain with an example.
Define namespace in c++?
What are vtable and vptr?
What do c++ programmers do?
What is namespace & why it is used in c++?
Array base access faster or pointer base access is faster?