Home > DeveloperSection > Interviews > When should we interrupt a thread?

Posted on    May-07-2015 11:43 PM

 Java Java  Thread 
Ratings:
 1 Answer(s)
  404  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    May-07-2015 11:43 PM

We should interrupt a thread if we want to break out the sleep or wait state of a thread.

Don't want to miss updates? Please click the below button!

Follow MindStick