Home » JAVA Programming » Multithreading » Question
  1. Which of these method is used to explicitly set the priority of a thread?
    1. make()
    2. makePriority()
    3. set()
    4. setPriority()
    5. None of these
Correct Option: D

The default value of priority given to a thread is 5 but we can explicitly change that value between the permitted values 1 & 10, this is done by using the method setPriority().



Your comments will be displayed only after manual approval.