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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -