Unit II: Classes
Lecture notes
- Notes for class II.1: Classes and objects
- Notes for class II.2: Class design
- Notes for class II.3: Inheritance
Sample Programs
- Code from Lecture II.2:
- Code from Lecture II.3:
This is the full rabbit/fox example that we looked at in
class.
Lab exercises
Reading
- I gave out handouts from "Java in a nutshell", which was my source for
the material in this unit. You should read through these for more
detail than we had time to cover.