Java multithreading interview questions Set 2
Categories: Java 8(JDK1.8) ||
Describe the purpose and working of sleep() method.The sleep() method in java is used to block a thread for a particular time, which means it pause the execution of a thread for a specific time. There