+ 4
How many priory values that a thread can be assigned?
4 ответов
+ 5
we can set thread priority between 1 to 10 include 1 and 10 also except this if we are trying to set any other value then JVM will throw an exception i. e. IllegalArgumentException
+ 2
Are you sure? I think the answer is 3
+ 2
Accepted values of priority for a thread is in range of 1 to 10.
Answer: 10
Thread class (priority) has 3 static variables.
(MIN, NORM, MAX)
+ 1
Accepted value of priority for a thread is in range of 1 to 10.
Answer: 10