Mohamed Sanaulla
,
Bartender
staff
Did you check the java.lang.Thread API?
You need to find the current running thread and then find its priority.
Nidhi Singhal
,
Ranch Hand
Generally, Thread.currentThread ( ) called from within the main method will return a handle to the main thread.
Thanks
Nidhi