0

Timer and timertask.

hey, frnds i want to make a examination module..i which i took 3 method for 3 exam like cc c++,java. after it now i want to add a timer for 10 seconds for each exam. so how to add timer.. guys help me.

1st Mar 2017, 6:34 AM
Pratul Tripathi
Pratul Tripathi - avatar
2 Answers
+ 1
Thread.sleep or ScheduledThreadExecuterPool https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledThreadPoolExecutor.html there are many flexible methods to schedule multiple runnables/callables
1st Mar 2017, 5:42 PM
No One
No One - avatar
0
Thanks dude
1st Mar 2017, 7:52 PM
Pratul Tripathi
Pratul Tripathi - avatar