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
D. It stops the thread permanently
Answer: Option C
Join The Discussion