go to home page   go to next page

creation: 2/14/99; revisions: 2/25/99, 7/17/99, 01/24/00, 07/28/2002, 06/05/03, 07/19/10, 07/21/14

CHAPTER 51 — Abstract Classes and Polymorphism

Classes in a hierarchy are related by the is-a relationship. For example, a Nissan is-a Automobile, and a Sentra is-a Nissan. This chapter discusses how reference variables are used for objects from different classes within a hierarchy.

Another subject is the abstract class — a class that cannot be instantiated but that can be the parent of other classes.

Chapter Topics:


How many Valentine cards did you get this year?