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



if am have 100 threads(for ex:T1,T2---T100) how we give priority to these threads and how the syst..

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

if am have 100 threads(for ex:T1,T2---T100) how we give priority to these threads and how the syst..

Answer / nishchita

setPriority() method can be used ..

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

How would you convert bytes to string?

0 Answers  


What is an association?

0 Answers  


What is protected in java?

0 Answers  


What is final method?

0 Answers  


Is string an object?

0 Answers  






Explain 5 features introduced in jdk 1.7?

0 Answers  


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


Can we instantiate interface in java?

0 Answers  


What do you understand by the term singleton?

0 Answers  


What are some alternatives to inheritance?

0 Answers  


Is empty string in java?

0 Answers  


Difference between array and arraylist.

23 Answers   Arise Solution, Banca Sella, iFocus, NIC, Sai Softech, Solartis, TCS, Verizon,


Categories