Difference between sleep(), suspend() and wait() 8

The question that was popped-up to us was what is the difference between suspend(), wait() and sleep() (methods of Java)? Though minute, there is a subtle difference among the three. Here’s how: sleep() is a static method that is used to send the calling thread into a non-runnable state for the given duration of time. The ...