Computer Science 225
Advanced Programming
Spring 2022, Siena College
Lecture 7: Object-Oriented Programming
Date: Friday, February 18, 2022
Agenda
- Announcements
- Lab 4: More Java Swing (in Canvas and GitHub) due the day before your labs next week
- Grading updates: Lab 3: Introduction to Java Swing (in Canvas and GitHub)
and Problem Set 2
- Coming Monday: much more detail about the first exam,
scheduled for Monday evening, 2/28
- Coming soon: signups to volunteer to help with our high school
programming contest on April 8
- Problem Set 3 is out
- intro video and full problem description are linked in Canvas
- form groups of up to 3 (or work alone)
- groups formed and repositories created by Monday
- due in one week, Friday 2/25
- Today's focus: think about and practice what we've learned so far
- thinking about the objects in our programs, what they
represent and can do, and how they interact
- Java's support for this with interfaces, abstract classes,
inheritance, overriding, dynamic method binding, etc.
- From Problem Set 2
- the design of the PrefixSumListIterator
- the object-oriented design of SyracuseGenerator and
SyracuseSearch
- From Labs 3 and 4
- why this in those method calls to add listeners?
- what's up with that Runnable interface?
- a closer look at the FiveGuys example
- Finishing up the in-class work from last time (Inclass 6)
Examples