Page 1 of 1

What is the name of the thread in output in the following Java program?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
class multithreaded_programing { public static void main(String args[]) { Thread t = Thread.currentThread(); System.out.println(t.getPriority()); } }
a) 0
b) 1
c) 4
d) 5