Today we finished our discussion of Chapter 8 (slide set ch08-3). We talked about the toString method that enables client code to print objects. We also saw the this keyword that can be used to explicitly refer to the implicit parameter object. Homework 8 (Critter Safari) was assigned. We talked briefly about how to implement a critter animal named Bird. To place Birds into the simulation, the following line must be added to CritterMain.java:

model.add(25, Bird.class);