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 ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between JVM and JRE?

622


What is number data type?

532


What do you mean by Function Overloading in java?

630


Explain what do you mean by functional overloading in java?

557


What is the difference between method overriding and overloading?

582






What is return code?

560


Whats the difference between notify() and notifyall()?

572


What is purpose of keyword void?

567


worst case complexities of Quick sort and Merge sort.

605


How can we avoid including a header more than once?

613


What are the two parts of a conditional statement?

517


What is a stringbuilder?

513


Why is string class considered immutable?

598


What do you understand by classes in java?

561


Why pointers are not used in java?

581