Which call cancels the running countdown when the student presses Cancel?

  1. timer.stop()
  2. timer.pause()
  3. timer.cancel()
  4. finish()
Answer

C) timer.cancel()

CountDownTimer.cancel() stops it.

Computer Science MCQ · More Lab: Campus Feedback App (Mini Project) MCQs · Practise