What is a thread status?

Report a typo

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());
    }
}
Enter a short text
___

Create a free account to access the full topic