if am have 100 threads(for ex:T1,T2---T100) how we give
priority to these threads and how the system excute these
threads
Answers were Sorted based on User's Feedback
Answer / anand kumar
we will allocate the priority using threadobject,setPriority
(int n) method....then according to the no given jvm will
exicute the threads
| Is This Answer Correct ? | 3 Yes | 0 No |
What is this keyword in java?
What is void data type?
Can memory leak in java?
how to fing linkedlist is circular or not?
Explain tree set and its features?
Is java util regex pattern thread safe?
What is static and final keyword in java?
How do you override a private method in java?
What does += mean in java?
What is a compilation unit?
How many decimal places is a double?
extending thread class or implementing runnable interface. Which is better? : Java thread