What Happens When You Invoke A Thread's Interrupt Method While It Is Sleeping Or Waiting

What Happens When You Invoke A Thread's Interrupt Method While It Is Sleeping Or Waiting


  • 29 Dec, 2011

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

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.