Announcements
Today’s Topics
Recursion
Correctness of recursive methods
Example: reverse string
Comments on reverse string:
Frame trace
Example 2: remove blanks
Example 3: duplicate chars
Example 4: factorial
Another class hierarchy
Draw the Hierarchy
Superclass features
Main memory subclass features
Disk subclass features
Cache subclass features
Brainstorming on P5_2
Email: millett@cs.cornell.edu
Home Page: http://www.cs.cornell.edu/cs100-su99/
Other information: CS 100 Summer 1999 Lecture Notes