Quick Answer
Thread priorities (MIN=1, NORM=5, MAX=10) hint to the OS scheduler which threads to prefer. Not guaranteed - OS is free to ignore hints. Starvation risk: high-priority threads always running can prevent low-priority threads from running. In practice, thread priorities are unreliable across platforms. Better to use proper synchronization and design rather than relying on priorities.
Answer
Threads have priorities (1–10). Higher priority gets more CPU time but no guaranteed order. Actual scheduling depends on OS and JVM.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.