What is the name of the thread in output in the following Java program? [code] class multithreaded_programing { public

What is the name of the thread in output in the following Java program?
Code:
    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
 

Tìm kiếm

Back
Top