Question: 1. public class TestOne { 2. public static void main(String[] args) throws Exception { 3. Thread.sleep(3000); 4. System.out.println(sleep); 5. } 6. } What is
![1. public class TestOne { 2. public static void main(String[] args) throws](https://dsd5zvtm8ll6.cloudfront.net/questions/2024/03/65f93b130ad97_1710835914896.jpg)
1. public class TestOne { 2. public static void main(String[] args) throws Exception { 3. Thread.sleep(3000); 4. System.out.println("sleep"); 5. } 6. } What is the result?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
