What is thread priority?

Answer Posted / 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 ?    30 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you use Bubble Sort to sort the number of elements?

582


Explain what access modifiers can be used for methods?

570


What is passing parameters in java?

525


Explain the polymorphism principle?

581


write a program that list all permutations of ABCDEF in which A appears before B?

2013






Name few "optional" classes introduced with java 8 ?

651


Why singleton class is used in java?

573


What is sleep method?

623


Why object class is super class for every class in java?

573


Explain differences between collection api and stream api?

612


Explain java heap space and garbage collection?

586


What is static synchronization?

575


What is string buffer?

506


What is qms certification?

522


What is the difference between a scrollbar and a scrollpane?

563