Multiple Choice
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) Only I
B) I and II
C) I and III
D) I, II, and III
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: Why does the textbook recommend signallAll over
Q6: Which exception must be caught or declared
Q7: Suppose run1 and run2 are objects of
Q8: For threads of equal priority, which is
Q9: Which method do you call to make
Q11: Examine the SharedData class shown below.Suppose two
Q12: Class MyClass has a single ReentrantLock object,
Q13: Assume two threads share a BankAccount object
Q15: Assume two threads share a BankAccount object
Q105: What is the difference between the result