I am preparing for SCJP exam and came across this question in Devaka exam.Could somebody please explain why the user thread is not interrupted even though main thread set the interrupt when the user thread is sleeping?
I see the output as Ex-B followed by exception.Why not Ex-A is not printed?Why the interrupt method not woking here?