import java.util.Scanner; public class Program { public static void main(String[] args) { //**************************************CLOCK***************************************** //creating new clock Clock c1 = new Clock(); c1.hours = 4; c1.minutes = 45; c1.seconds = 56; System.out.println("New clock c1 was created"); c1.show(); System.out.println(""); //adding 2 seconds (ticks) for (int i = 0;i<2;i++) c1.tick(); System.out.println("2 seconds were added to the clock"); c1.show(); System.out.println(""); //reset clock c1.reset(); System.out.println("clock reset"); c1.show(); System.out.println(""); //***************************************CAR****************************************** //creating new car Car car1 = new Car(); car1.prm_Speed = 55; System.out.println("New car created."); //printing car speed car1.getSpeed(); //increasing speed int i, Speed; Scanner buff = new Scanner(System.in); System.out.println("How many KM would you like to increase?"); Speed = buff.nextInt(); for (i=0;i