Which are ways that a thread can be blocked?
I when it is sleeping
II waiting for a lock to be available
III waiting after calling the await method
A) I
B) I and II
C) I and III
D) I, II and III
Correct Answer:
Verified
Q65: When is it a good idea to
Q72: Stale data occurs in multi-CPU machines when
Q73: Class MyClass has two ReentrantLock objects, myLock1
Q74: Under what circumstances will a call to
Q76: Assume two threads share a BankAccount object
Q77: Assume three threads share a BankAccount object
Q78: "Livelock" occurs when one thread runs continuously,
Q79: Consider an old fashioned telephone booth that
Q80: Which of the following scenarios may not
Q82: Suppose that the class XYZ implements the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents