星期日, 4月 17, 2005

5/6 Lab

Study Display 4.1 and then do Exercise 1.

Study Display 4.2 & Display 4.3 and then
1. comment out date.setDate(6, 17, year); by // date.setDate(6, 17, year);
2.
At the next line below, add date.readInput();
3.
Run the program again. Fix any problems you may encouter along the way.
4. At the last line of your program, add System.out.println(date.month);
and see what happens. Why?