Which algorithm is used in thread scheduling?
-
Fixed Priority
-
Round Robin
-
Discrete Optimization
-
None of the above
A
Correct answer
Explanation
Java threads use priority-based scheduling where each thread has a priority level (1-10). The JVM scheduler attempts to run higher-priority threads before lower-priority ones, though the exact mapping to OS-level scheduling is platform-dependent and implementation-specific.