CSci 161 C

Second exercise set

Due:  Friday, September 15 (in class)

Please work problems 2.55, 2.57, and 2.58 on pages 42 - 43.  Please take note of the note just after 2.58 (that is, do all this in a copy of better-ticket-machine).  Also take note that the accessor methods will sometimes work as a mutator method as well.  There are two points of view on this, but we will adopt the more flexible view (permitting an accessor to modify object fields) in this class.  Be sure to include your name in the header documentation for the class, and in the header documentation for any methods you modify or create. 

One way to include your name in the class header documentation is to modify the @author tag, adding the phrase "modified by ....." to the end of the @author tag.

Turn in:  Source listing for the class and the class documentation.  To get to the class documentation, select Tools -> Project Documentation from the BlueJ project window (cntrl-J is a shortcut).