Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is int lol?

0 Answers  


What is volatile data type?

0 Answers  


What is class array in java?

0 Answers  


Is static variable stored in heap?

0 Answers  


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

0 Answers   Symphony,


Can a class be protected in java?

0 Answers  


how to connect one jsp page to another jsp page????

6 Answers   IIT, Symphony,


Can you pass functions in java?

0 Answers  


How to create a custom exception?

0 Answers  


What is Map interface?

3 Answers   Wipro,


public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }

7 Answers   iGate,


What are the differences between stringbuffer and stringbuilder?

0 Answers  


Categories