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

Verified
Correct Answer:
Verified
Related Questions
Q47: Consider an old fashioned telephone booth that
Q48: What should be done to get the
Q49: Class MyClass has two ReentrantLock objects, myLock1
Q50: Which argument(s) present(s) the best case(s) for
Q51: In which method are the tasks that
Q53: The term "starvation" means a situation where
Q54: _ allow a thread to temporarily release
Q55: To start a thread, you should first
Q56: The thread that calls signalAll must own
Q57: Suppose thread one is downloading a 800KB