Introduction to OOP | Chapter 8: Inheritance and Substitution: | next | previous | audio | real | text |
Two or more classes that seem to be related, but its not clear who should be the parent and who should be the child.
Example: Mouse and TouchPad and JoyStick
Better solution, abstract out common parts to new parent class, and use subclassing for specialization.