multithreading - How to implement a Timer inside thread in Java -


i'm coding interviewer app in java , need implement new thread started interview. have, example 10 questions show , i'll iterating questions, when start "quiz" must start counting 20 minutes , need show resting time questions. note: it's terminal application.

how may implement 20 minutes timer running in thread , how show countdown (or up) continuously?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -