
10
CHAPTER
Object-Oriented Programming, Part 3:
Inheritance,Polymorphism,and Interfaces
Introduction
10.1 Inheritance
10.2 Inheritance Design
10.2.1 Inherited Members of a Class
10.2.2 Subclass Constructors
10.2.3 Adding Specialization to the
Subclass
10.2.4 Overriding Inherited Methods
10.3 The protected Access Modifier
10.4 Programming Activity 1: Using
Inheritance
10.5 Abstract Classes and Methods
10.6 Polymorphism
10.7 Programming Activity 2: Using
Polymorphism
10.8 Interfaces
10.9 Chapter Summary
10.10 Exercises, Problems, and Projects
10.10.1 Multiple Choice Exercises
10.10.2 Reading and Understanding
Code
10.10.3 Fill In the Code
10.10.4 Identifying Errors in ...