Q17
In Java, what is the purpose of the interrupt() method in threads?
A.
It resumes the thread
B.
It pauses the thread
C.
It interrupts the normal execution of a thread, causing it to throw an InterruptedException
AnswerD.
It stops the thread permanently
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board