Introduction to OOP Chapter 9: A Solitare Game: next previous audio real text

Power of Inheritance

By using the inherited default behavior, only a small number of the possible methods must actually be implemented.

CardPile SuitPile DeckPile DiscardPile TableauPile
includesXX
canTakeXXX
addCardXX
displayXX
selectXXXX

Intro OOP, Chapter 9, Slide 10