GIAC
GSSP-JAVA · Question #86
There are two threads defined in an application named "thread1" and "thread2". Which of the following options can be the direct cause of "thread1" becoming blocked? Each correct answer represents a…
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #86. The question stem and answer options stay visible for context.
Question
There are two threads defined in an application named "thread1" and "thread2". Which of the following options can be the direct cause of "thread1" becoming blocked? Each correct answer represents a complete solution. Choose all that apply.
Options
- Athread1 attempt to read from a file
- Bthread1 executes thread2.sleep(3000)
- Cthread2 executes thread1 sleep(3000)
- Dthread1 raises its own priority
- Ethread1 executes new Thread (someRunnable)
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.