Computer Science 252
Problem Solving with Java
Fall 2015, The College of Saint Rose
Lecture 7: Defining Classes
Date: Tuesday, September 22, 2015
Agenda
- Announcements
- First exam rescheduled to October 8, will plan
on an optional review session the night before
- Labs due this week:
- Reminder about style guide as you begin work on the first
programming assignment (as opposed to a practice program)
- Lecture 5 assignment recap
- A few more Objectdraw examples
- Defining classes
No New Lecture Assignment
Get some work done on the labs.
Terminology
- custom class
- constructor
- accessor method
- local variables
- mutator method
- instantiate
Examples