Lecture
Lab 8 code – discussed – has alternatives – and debugging examples
Lab 9 code -
Lab9Driver1.java - shows creation of multiple clocks from around the world and testing of each method in the Clock class (not required to be submitted)
Lab9Driver2.java - shows creation of required alarm clocks
AlarmClock.java – shows constructors completed and completion of other AlarmClock methods
Lab9Driver3.java – sets alarm and turns it on runs program
Lab 9 deliverable KEY
Reviewed test Script for PA1 which contains
sequence of tests
dialog showing input and ouput of tests
contents of ouput file
Test input file used to grade PA1
Reviewed Calculator.java from Lecture 5 showing use of command line arguments.
Reviewed deliverables for PA2 which need to be submitted
to Blackboard by
Slides about visibility and accessibility and information hiding
Code
Examples