Hi ,
Can someone tell me if there are 2 threads at "Ready state" , one is at higher priority and one at lower priority , then which one will the JVM start for sure ?
I want to answer "higher priority thread" but want to be sure because when it comes to "Threads" many times the answer is the "unpredictable" .I want to know from exam point of view.
The other likely answer is "We can be sure that number of times a higher priority
thread runs is higher than number of times a lower priority thread runs but we cannot say for sure that higher prioriy thread will always start first "
Can someone please explain thread priorities w.r.t
SCJP 1.4 ?