+ 1
How to set interval in java
3 Answers
0
what do you mean by interval? i mean, will be used for what?
0
for making clock
0
you should learn about thread. especially thread.sleep(interval). for example: Thread.sleep(1000) is same as 1 second. and loop until you would to stop. and use div "/" or modulo "%" for convert interval to minute or hours.