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

Does importing a package imports its sub-packages as well in java?

978


Explain importance of throws keyword in java?

984


Explain about the dynamic behavior of core java?

1144


Why webdriver is an interface?

1063


What is the range of a character variable?

995


When do we use hashset over treeset?

1065


What is a finally block? Is there a case when finally will not execute?

1085


What is type inference in java8?

1055


Why is multithreading important?

952


What do you mean by object?

985


Why does java doesnt suuport unsigned values?

2246


What is the internal implementation of set in java?

939


What if constructor is protected in java?

1134


Why chararray() is preferred over string to store the password?

1030


What is a class in java?

1016