Multiple Choice
Which of the following definitely indicates that a thread has been interrupted by another thread?
I The run method has completed
II The method Thread.interrupted returns true
III The run method catches an InterruptedException
A) I
B) II
C) I and II
D) II and III
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q12: Assume two threads share a BankAccount object
Q14: Which of the following class declarations could
Q18: Which argument(s) present(s) the best case(s) for
Q20: Under what circumstances will a call to
Q26: The sleep method is terminated with a(n)
Q30: What happens when a thread calls the
Q33: When a sleeping thread is interrupted, a(n)
Q54: _ allow a thread to temporarily release
Q66: The _ occurs when a thread that
Q69: The _ method is called by a