Chapter 8. Inheritance
Topics in This Chapter A1
8.1 Extending a Class — page 85
8.2 Overriding Methods — page 86
8.3 Type Checks and Casts — page 87
8.4 Protected Fields and Methods — page 88
8.5 Superclass Construction — page 88
8.6 Overriding Fields — page 89
8.7 Anonymous Subclasses — page 91
8.8 Abstract Classes — page 91
8.9 Abstract Fields — page 91
8.10 Construction Order and Early Definitions L3 — page 92
8.11 The Scala Inheritance Hierarchy — page 94
8.12 Object Equality L1 — page 95
Exercises — page 96
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial