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
includes
X
X
canTake
X
X
X
addCard
X
X
display
X
X
select
X
X
X
X
Intro OOP,
Chapter 9
, Slide 10