Computer Science 252
Problem Solving with Java
Fall 2014, The College of Saint Rose
Lecture 6: Defining Classes
Date: Thursday, September 11, 2014
Agenda
- Announcements
- I have forwarded a summary of the available times for those
who responded about the ASC study cluster and we should know the
schedule soon.
- Lab 2: Laundry Sorter continues
- Due Monday evening
- This is the first lab that includes a "programming
assignment" - these are graded not only on correctness but
also on design, documentation, style, correctness, and
efficiency.
- See the complete description of the requirements for
programming assignments on the course home page, and read the
"Style Guide", which is linked from the top of all course web
pages, for details on what I will be looking for when I grade.
- Lecture 5 assignment recap
- Defining classes
- Time to work on Lab 2: Laundry Sorter
Lecture 6 Assignment
Due at the start of class, Tuesday, September 16.
Please submit answers to these questions
in Submission
Box under "LA6" or in hard copy by the
start of our next class. We will discuss these questions at the
start of class, so no late submissions are accepted. Please be sure
that your name is clearly indicated in all submissions.
- BDM Exercise 6.2.3, p. 157. (4 points)
- BDM Exercise 6.3.1, p. 164. (6 points)
Terminology
- custom class
- constructor
- accessor method
- local variables
- mutator method
- instantiate
Examples