multiple inheritance | can result in more complex systems than single inheritance | |
has definition Inheritance from more than one superclass | |
is a subtopic of Inheritance | |
is a kind of inheritance | |
should be avoided if possible | |
inheritance | has advantages - it parallels natural categories
- it prevents avoidable duplication and simplifies maintenance
- it avoids introducing bugs into previously debugged code
| |
has purpose code reuse | |
occurs automatically once you have defined which classes are superclasses and which classes are their subclasses | |