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 null object in java?
What are the principle concepts of oops?
What causes memory leak in java?
What are the drawbacks for singleton class?
Can we pass a primitive type by reference in java? How
What is math exp in java?
What is the purpose of tostring() method in java?
What is garbage collector?
Explain the advantages of packages in java?
Why do we need array in java?
What access modifiers can be used for methods?
Can a class with private constructor be extended?
How can we find the sum of two linked lists using stack in java?
What does += mean in java?
What is ‘is-a ‘ relationship in java?