employee has values for those attributes of person without having to define the attributes within the class.
| Default value (reusability of values) |
|
| Redefinition (overwritten) |
|
manager has two immediate superclasses, namely employee and shareholder.
Problems include:
account is overloaded.
manager, do the attributes of person belong to person, employee, or shareholder?
employee has priority over shareholder.
manager IsA employee, shareholder |
|
|
|
|
|
If you had the choice between being as rich as Bill Gates or having world peace, what color Lamborghini would you buy? |