1) Sleep is a method of thread, wait is a method of object.
2) Interrupt() can be used to wake up a thread from sleep state, notify() and notifyAll() can be used to wake up from waiting state
3) Sleep method will not release the lock after completion of tine but wait method does...
2) Interrupt() can be used to wake up a thread from sleep state, notify() and notifyAll() can be used to wake up from waiting state
3) Sleep method will not release the lock after completion of tine but wait method does...