🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Scheduling and Async: all 10 questions

Quiz: Scheduling and Async · Question 2 of 10

With fixedRate = 10 seconds, a run unexpectedly takes 15 seconds. What happens to the next run?

With fixedRate = 10 seconds, a run unexpectedly takes 15 seconds. What happens to the next run?

  1. A.It starts as soon as the slow run finishes, without overlapping it
  2. B.It runs at the same time as the slow run on another thread
  3. C.It is skipped forever
  4. D.The application stops
Answer & explanation

Correct answer: It starts as soon as the slow run finishes, without overlapping it

Runs of the same scheduled job do not overlap; a late run starts right after the previous one ends.

Can you get the rest right without peeking?

Take the timed Quiz: Scheduling and Async quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →