Answer
Threads have priorities (1–10).
Higher priority gets more CPU time but no guaranteed order.
Actual scheduling depends on OS and JVM.
Higher priority gets more CPU time but no guaranteed order.
Actual scheduling depends on OS and JVM.