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
What is the use of join method?
What are abstract methods in java?
What is generic type?
What is the difference between hashmap and hashtable in java?
What are static blocks in java ?
Is java util regex pattern thread safe?
What is meant by call by reference?
What is a boolean used for?
How to implement a multithreaded applet?
What is thread count in java?
What is the difference between integer parseint and integer valueof?
Why constructor has no return type?
Enlist few advantages of inheritance?
Can we change the value of static variable?
How do you print array in java?