a.
public void setHours(int hours);
public int getHours();
@Test
public void testSetHours() {
Time time = new Time(4, 14, 43);
// replace this with your test code
}
b.
public void setSeconds(int seconds);
public int getSeconds();
@Test
public void testSetSeconds() {
Time time = new Time(4, 14, 43);
// replace this with your test code
}
c.
public void changeTime(int hours, int minutes, int seconds);
public int getHours();
public int getMinutes();
public int getSeconds();
@Test
public void testChangeTime() {
Time time = new Time(4, 14, 43);
// replace this with your test code
}
d.
public String formatTime(); // output should be in format hh:mm:ss
@Test
public void testFormatTime() {
Time time = new Time(4, 14, 43);
// replace this with your test code
}