wait() and sleep() methods?
We love social media, but we do not expect you to create yet another public outpost on the Web.
One of hundreds of answers available with our premium content service.
A: The static Thread.sleep(long) method maintains control of the thread execution but delays the next action until the sleep time expires. The wait() method gives up control over thread execution indefinitely so that other threads can run.
… full answer hidden
Premium members click below for full answer
Why are there separate wait() and sleep() methods?