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
Is java ee a framework?
Why spring singleton is not thread safe?
Why java uses the concept of the string literal?
Is math an abstract class in java?
State one difference between a template class and class template.
What is json parser in java?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Why is a constant variable important?
What is a java string?
Can a constructor call the constructor of parent class?
How do you input a string in java?
What are the different types of collections in java?
Can a class have more than one object?
What is pass by value?
Can we convert integer to string in java?