Thread Methods Constructors , sleep & Interrupt in Java

mostfunnyvideo
5 Views
During sleep, the thread does not release the lock. The interrupt() method allows for interruptions. If the thread is interrupted while it is sleeping, it throws an InterruptedException.

Comments