Home » JAVA Programming » Multithreading » Question
  1. What decides thread priority?
    1. Thread
    2. Thread scheduler
    3. Process
    4. Process scheduler
    5. None of these
Correct Option: B

Thread scheduler decides the priority of the thread execution. This cannot guarantee that higher priority thread will be executed first, it depends on thread scheduler implementation that is OS dependent.



Your comments will be displayed only after manual approval.