What happens when you invoke a thread's interrupt method while it issleeping or waiting

When a task's interrupt() method is executed, the task enters the ready state. The nexttime the task entersthe running state, an InterruptedException is thrown.

 

This Question is not yet answered!