if am have 100 threads(for ex:T1,T2---T100) how we give
priority to these threads and how the system excute these
threads
Answer Posted / nishchita
setPriority() method can be used ..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is the main method declared static?
Explain the difference between comparator and comparable in java?
Difference between notify() method and notifyall() method in java?
what do you mean by stream pipelining in java 8? Explain
Is constructor inherited?
What will happen if static modifier is removed from the signature of the main method?
Explain what are final variable in java?
What is object cloning in Java?
Can a class extends itself in java?
What is application tier?
Garbage collection in java?
Explain creating threads by implementing runnable class?
what are Hostile Applets?
How do you clear a method in java?
a thread is runnable, how does that work? : Java thread