what is Thread priority?

Answers were Sorted based on User's Feedback



what is Thread priority?..

Answer / malligontla

By default, the priority of Thread is 5. But the range is
from 1 to 10.

MAX_PRIORITY (value 10)
NORM_PRIORITY (value 5)
MIN_PRIORITY (value 1)

Is This Answer Correct ?    11 Yes 1 No

what is Thread priority?..

Answer / 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

what is Thread priority?..

Answer / guest

first come first serve

Is This Answer Correct ?    0 Yes 1 No

what is Thread priority?..

Answer / guest

first come first serve

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is meant by wrapper classes?

3 Answers  


Explain wait() method of object class ?

0 Answers  


What is t in generics in java?

0 Answers  


What is the use of accept () method in java?

0 Answers  


What is the use of arrays tostring () in java?

0 Answers  






What is class forname used for?

0 Answers  


What is the difference(or similarity if there are some) between object and a variable?

4 Answers   ME,


What is a java object and java application?

0 Answers  


what is mutability?which one is mutable String or StringBuffer?and why?give examples of each which shows the mutability of each String or StringBuffer

4 Answers   IBM, Zenon,


What is difference between char array and string?

0 Answers  


How can you say HashMap is syncronized?

14 Answers   Arete, IBM,


What are integer overflows and underflows and how to handle them?

3 Answers   Wipro,


Categories