CPSC170 Lecture 4

Inheritance

Class Files

In-Class Activity / Pre-Lab

Due January 22nd, 2:50 PM

This is for a quiz grade, and is to be done on paper. Write the book inheritance example as described in class. You will need a generic book class, as well as a class for children books. Recall what instance variables we may want to add, as well as any extra methods you need to include.