What is the name of the thread in output in the following Java program?
Posted: Wed Jul 13, 2022 7:50 pm
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
a) 0
b) 1
c) 4
d) 5