Which of these method of Thread class is used to find out the priority given to a thread?
Correct Answer: getPriority()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Which class level (non local) variable declarations will not compile?
What modifers are implicitly applied to all interface methods? (Choose all that apply)
Output of following code: class Printer extends Thread{ private int max = 0; public Printer(int max){ this.max = max; } public void run() { for(int i=1; i<=max; i++){ System.out.println(i); } } public static void main(String[] args){ Printer printer1 = new Printer(3); Printer printer2 = new Printer(2); printer1.start(); printer2.start(); } }
What is the prototype of the default constructor for following class? public class Test { }
Which collection class allows you to associate its elements with key values, and allows you to retrieve objects in FIFO (first-in, first-out) sequence?
What does lookup() do in JNDI?
GetMessage() of Folder class returns?
Which class can send a message over specific protocol?
What type of messaging in provided by JMS?
By which method we can delete a mail using JavaMail Api?