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 the use of arraylist in java?
Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?
What does java se mean?
What is comparable and comparator interface? List their differences
Can the interface be final?
Can we declare register variable as global?
which pattern is default in scanner package?
How do you achieve singleton?
What is string :: npos?
what is anonymous class in java?
Can we force the garbage collection to run?
Can a class extend 2 classes in java?