Q24
In Java, what is the purpose of the isInterrupted() method in threads?
A.
It checks if a thread is a daemon thread
B.
It checks if a thread is waiting
C.
It checks if a thread is running
D.
It checks if a thread has been interrupted
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board