?
What is the name of the thread in output in the following Java program?
What is the name of the thread in output in the following Java program?
class multithreaded_programing
{
public static void main(String args[])
{
Thread t = Thread.currentThread();
System.out.println(t.getPriority());
}
}
class multithreaded_programing
{
public static void main(String args[])
{
Thread t = Thread.currentThread();
System.out.println(t.getPriority());
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login