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 |
How to perform selection sort in java?
Can we change the value of static variable?
What is the main functionality of the remote reference layer?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
What is an object's lock and which object's have locks in java programming?
Can we have try without catch block?
what is polymorphism?
Is alive in java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What is java reflection?
What 5 doubled?
If a class is declared without any access modifiers, where may the class be accessed in java programming?