What is the thread status of the following code?
public class Main {
public static void main(String[] args) throws Exception {
Thread thread = new Thread(() -> {});
System.out.println(thread.getState());
}
}What is the thread status of the following code?
public class Main {
public static void main(String[] args) throws Exception {
Thread thread = new Thread(() -> {});
System.out.println(thread.getState());
}
}Create a free account to access the full topic