Difference between wait() and sleep() Difference between wait() and sleep() multithreading multithreading