Lecture 23: Objects, Classes, and Inheritance
The content in these slides will be covered over three lectures:
On Fri. Nov 30, the focus will be on declaring classes to specify the instance variables and methods of objects.
On Tue. Dec. 04, the notion of inheritance will be introduced, and will be expanded upon in the context of an Animation system (with some new slides on Animation).
- Fri. Dec 07 will be be a day to cover leftover topics from Lec. 22: Recursive File Tree Traversals, Lec. 23: Objects, Classes, and Inheritance, and Lec. 24: Animation
We will spend 10 to 15 minutes of class talking about testing. Here is a link to a problem that might be covered in class:
Click on the lec23_objects_classes_inheritance.zip link to download
.zip file to your computer.
The unzipped folder contains the notebook for lecture activities.