hi its me again.. curious thingking about how to control a timer statements per clock tick processes with if else statement
i would like to perform this operations like;
clock.start();
if(clocktime == 1)
System.out.println("Hi");
else if(clocktime == 2)
System.out.println("Hellow");
clock.stop();
i know this program is an error because of incompatible types so can you give me some suggestions and comments about how to perform or code it in a right way..
can u give me some codes regarding to the question