Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ClockMain {
- public static void main(String[] args){
- ClockDisplay clock = new ClockDisplay();
- for(int i = 0; i < 2*60; i++){
- System.out.println("The time is: " +
- clock.getTimeDisplay());
- clock.tick();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment