Threads have priorities that can be set and changed.
A higher priority thread executes ahead of a low priority thread. Priorities run from 1 to 10.
The minimum priority (like this Thread.MIN_PRIORITY ) is 1.
The normal priority (like this Thread.NORM_PRIORITY ) is 5.
The maximum priority (like this Thread.MAX_PRIORITY ) is 10.
When a thread is created, by default its priority is 5
Question and answer is powered by AnsPress.io