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 use of private static?

532


What is the difference between a switch statement and an if statement?

515


What all access modifiers are allowed for top class ?

711


Explain the difference between arraylist and linkedlist in java?

484


Which keyword specify that a variable is effectively final ?

566






Can we access the non-final local variable, inside the local inner class?

513


What is the this keyword?

554


Write a factorial program using recursion in java?

514


How many characters is 16 bytes?

534


State some advantages of java?

713


What is the advantage of OOP in java?

657


How to create a thread in java?

604


Explain naming conventions for packages?

575


What are parameters in a method?

583


What is a substring of a string?

560