CSE 160
Lab 1 and HW#1
Due Tuesday, Feb 17, 2009

Reading: In the Objects First with Java text, finish reading through Chapter 2. Work along with it using BlueJ.

Lab 1: In the lab on wednesday Feb 11 morning: The TA will work with you doing the exercises 2.74-2.81 (a Book class) in the text, pp. 49-51. Then write and debug code for the Heater exercises. (#2.82 and #2.83 on p. 51). You will create a new project and a new class in the project.  The top of your class file should include a comment summarizing what the class does and a line with your name and date. Each method should each be preceeded by a comment with a sentence describing that the method does. Also be sure to edit the readme file and include all the appropriate information it lists, including your name, etc.

HW#1: Hand in your Heater class after finishing Exercises 2.82 and 2.83.  To do this, from BlueJ's File menu, create a jar file, being sure to check the Include Source box. There is no Main method, so don't worry about that. Email your jar file as an attachment to the TA at the address on the class web page. Put your last name in the email subject header. In the body of the email either state that you think it all works and is complete or state any problems you know of.