Wed Feb 13 2:30-4:00 PM
This lab tests your knowledge of the following intended learning outcomes:
Note that there are many intended learning outcomes that are not covered by this lab!
This is a practice lab test. You must submit before the computers reboot at the end of the lab.
Implement the class SimpleTime so that it provides the following API:
Some code to start your solution can be found here:
Here is a check list of items that your solution must provide:
SimpleTime()SimpleTime(SimpleTime other)SimpleTime(int hour, int minute, boolean am)SimpleTime(int hour, int minute, boolean am)getHour()setHour(int hour)getMinute()setMinute(int minute)compareTo(SimpleTime other)Submit your solution:
submit 1030Z L6W SimpleTime.java
Implement the class AlarmClock so that it provides the following API:
Some code to start your solution can be found here:
Here is a check list of items that your solution must provide:
AlarmClock(SimpleTime clockTime, SimpleTime alarmTime)getClock()setClock(SimpleTime newTime)getAlarm()setAlarm(SimpleTime newTime)Submit your solution:
submit 1030Z L6W AlarmClock.java