This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
If i am rightly understood the statement it means do we have to hadle interrup check in our code ,if thread goes a long time without invoking
a method that throws InterruptedException? Is it correct?
considering the below example if the interruption comes during sleep it will print the message
but if the interruption comes once the thread comes out of sleep it wont go inside catch block for InterruptedException } correct?