![]() |
< Free Open Study > |
![]() |
Chapter 6 Multiple InheritanceHeuristic 6.1 If you have an example of multiple inheritance in your design, assume you have made a mistake and then prove otherwise. Heuristic 6.2 Whenever there is inheritance in an object-oriented design, ask yourself two questions:
Heuristic 6.3 Whenever you have found a multiple inheritance relationship in an object-oriented design, be sure that no base class is actually a derived class of another base class. |
![]() |
< Free Open Study > |
![]() |