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
Which function cannot be overloaded c++?
what are the iterator and generic algorithms.
What are the two main components of c++?
What is else if syntax?
What is the difference between #import and #include in c++?
Is it possible to provide special behavior for one instance of a template but not for other instances?
If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?
Is c++ the best programming language?
What are c++ data types?
What language is a dll written in?
What are friend functions in C++?
What do you mean by friend class & friend function in c++?
How is static data member similar to a global variable?
what kind of projects are suitable for c and c++
Mention the storage classes in c++.