What will be the result of executing the following Java code?
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
System.err.println("Interruption during sleep: " + e.getMessage());
}
What will be the result of executing the following Java code?
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
System.err.println("Interruption during sleep: " + e.getMessage());
}