Which method is called every interval while the timer runs?

  1. onUpdate()
  2. run()
  3. onFinish()
  4. onTick(millisUntilFinished)
Answer

D) onTick(millisUntilFinished)

onTick receives the remaining milliseconds.

Computer Science MCQ · More Lab: Countdown Timer MCQs · Practise