Join
Blogs
Questions
Videos
Tags
Members
Search
 
 
Create your own blog, earn points and get popular!

Priority of thread can not be changed, OS decides which thread to run and when.

Priority of thread can not be changed, OS decides which thread to run and when.

A. True
B. False
  Answer:

B false. Thread priority can be set using setPriority method of Thread class. The way Java schedules thread is platform dependent, so varies from one platform to another.
Your rating: None Average: 3 (2 votes)
Share this

Post new comment

4 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.