| Type: |
|
| Level: |
Intermediate
|
| Date: |
2006-Dec-08
|
| Visited: |
1072 times
|
| Rating: |

|
| Author: |
Alex Plumpton |
|
|
Multiple inheritance is the mechanism by which a class inherits properties from more than one base class. Thus the derived class will have the combined properties of all the classes, it is inherited from. Class C inherits the properties from both the classes A andB. It is diagrammatically represented as shown. The general form of derived class inherited from multiple base classes is as shown. Here visibility can be private or public.