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...

what is Thread priority?

Answer Posted / mamatha

Thread scheduler uses the thread priorities in the form of integer value to each of its thread to determine the execution schedule of threads .

Thread gets the ready-to-run state according to their priorities.

Priorities are integer values from 1 (lowest priority given by the constant Thread.MIN_PRIORITY) to 10 (highest priority given by the constant Thread.MAX_PRIORITY).

The default priority is 5(Thread.NORM_PRIORITY).

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of join method?

962


What are abstract methods in java?

1061


What is generic type?

977


What is the difference between hashmap and hashtable in java?

1048


What are static blocks in java ?

1040


Is java util regex pattern thread safe?

971


What is meant by call by reference?

947


What is a boolean used for?

1058


How to implement a multithreaded applet?

2608


What is thread count in java?

951


What is the difference between integer parseint and integer valueof?

963


Why constructor has no return type?

1054


Enlist few advantages of inheritance?

1026


Can we change the value of static variable?

902


How do you print array in java?

921