Answer Posted / mamatha
Thread scheduler uses the thread priorities in the form of integer value to each of its thread to determine the execution schedule of threads .
Thread gets the ready-to-run state according to their priorities.
Priorities are integer values from 1 (lowest priority given by the constant Thread.MIN_PRIORITY) to 10 (highest priority given by the constant Thread.MAX_PRIORITY).
The default priority is 5(Thread.NORM_PRIORITY).
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Does importing a package imports its sub-packages as well in java?
Explain importance of throws keyword in java?
Explain about the dynamic behavior of core java?
Why webdriver is an interface?
What is the range of a character variable?
When do we use hashset over treeset?
What is a finally block? Is there a case when finally will not execute?
What is type inference in java8?
Why is multithreading important?
What do you mean by object?
Why does java doesnt suuport unsigned values?
What is the internal implementation of set in java?
What if constructor is protected in java?
Why chararray() is preferred over string to store the password?
What is a class in java?