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

how do I create a runnable with inheritance? : Java thread

1030


Can a class be a super class and a sub-class at the same time? Give example.

1619


What is difference between static class and normal class?

1185


What are the types of relation?

1107


Can we sort a map in java?

1115


What is the public field modifier?

1080


Are generics important java?

1038


How to Sort Strings which are given in List and display in ascending order without using java api.

4518


Explain notify() method of object class ?

1162


Why string is immutable or final in java

1141


What is == and === in javascript?

1104


Differece between class and generic class?

1094


Is java a super set of javascript?

1151


What does sizeof return?

1036


How do you test a method for an exception using junit?

1269