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

Quiz: Waits · Question 5 of 10

What is the recommended combination?

What is the recommended combination?

  1. A.Implicit waits plus Thread.sleep
  2. B.Implicit and explicit waits together
  3. C.Explicit waits, without implicit waits
  4. D.No waits at all
Answer & explanation

Correct answer: Explicit waits, without implicit waits

Mixing waits leads to unpredictable timeouts.

Can you get the rest right without peeking?

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

Start the quiz →