Multiple Choice
What happens when a thread calls the signalAll method of a Condition object connected to a lock, if no other thread had called await on that Condition object?
A) A compiler error.
B) A checked exception is thrown.
C) The unlock method call will block.
D) Nothing, the program executes normally.
Correct Answer:

Verified
Correct Answer:
Verified
Q25: Assume two threads share a BankAccount object
Q26: The sleep method is terminated with a(n)
Q27: The term "stale data" refers to a
Q28: Given that a new thread named t
Q29: Which of the following does not create
Q31: Suppose thread one is downloading a 800KB
Q32: Which of the following definitely indicates that
Q33: When a sleeping thread is interrupted, a(n)
Q34: _ occur(s) if the effect of multiple
Q35: a(n. _ object is used to control