Computer Science 252
Problem Solving with Java
Fall 2015, The College of Saint Rose
Lecture 16: Recursion
Date: Tuesday, October 27, 2015
Agenda
- Announcements
- Lab 10: Final Project out
- Lecture 15 assignment recap
- Recaps of recent labs
- Recap of some of the key ideas we have seen that come up frequently
- persistence of data: what needs to be an instance variable
and what should not
- custom classes: teach Java about a new kind of object - how
to create it and how it answers questions (its accessors) and
obeys commands (its mutators)
- information flow within a program
- instance variables to share information among methods of
a given object (instance of a class)
- method calls and their parameters and return values to
share information among objects
- More recursion
- more methods of a recursive structure
No New Lecture Assignment
The assignment previously in this space will become part of the next
lecture assignment.
Terminology
Examples