Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *
- * @author: Rifqi Mukti W
- * @version 12.10.2017
- */
- public class TestClockDisplay
- {
- // instance variables - replace the example below with your own
- private int x;
- /**
- * Constructor for objects of class TestClockDisplay
- */
- public TestClockDisplay()
- {
- }
- public void test()
- {
- ClockDisplay clock = new ClockDisplay();
- clock.setTime(22, 30);
- System.out.println(clock.getTime());
- clock.setTime(00, 9);
- System.out.println(clock.getTime());
- clock.setTime(13, 18);
- System.out.println(clock.getTime());
- clock.setTime(07, 06);
- System.out.println(clock.getTime());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement