1.

Assume a thread has a lock on it, calling the sleep() method on that thread will release the lock?

Answer»

A THREAD that has a lock won't be released even after it calls sleep(). DESPITE the thread sleeping for a SPECIFIED period of time, the lock will not be released.



Discussion

No Comment Found