nerdexam
GIAC

GSSP-JAVA · Question #179

Which of the following methods causes the currently executing thread object to temporarily pause and allow other threads to execute?

The correct answer is E. yield(). See the full explanation below for the reasoning.

Question

Which of the following methods causes the currently executing thread object to temporarily pause and allow other threads to execute?

Options

  • Asleep()
  • Bnotify()
  • Cfinalize()
  • Dinterrupted()
  • Eyield()
  • FnotifyAll()

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    6% (2)
  • E
    72% (23)
  • F
    16% (5)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice