Introduction to OOP: Chapter 8: The Solitaire Game
[next]
[previous]
[audio]
[real]
[text]
Features to Note
-
Note the extends keyword is used to indicate inheritance.
-
The use of super to indicate parent (as in the constructor).
-
Overriding is replacement - method replaces one in parent class.
Intro OOP, Chapter 8, Slide 17