Introduction to OOP: Chapter 8: The Solitaire Game
[next]
[previous]
[audio]
[real]
[text]
Features to Note
Note the use of refinement, and not replacement semantics in
the method addCard. A refinement is a combination of the behavior
of the parent and child classes, and not simply a replacement
of the parent class behavior.
Intro OOP, Chapter 8, Slide 20a