+ 1
Hello if i wanted to get the priority of a thread how should I code?
2 ответов
+ 3
call Thread.currentThread(); it will return a thread object of currently executing thread.
then print that thread object it will give you it's priority.---- [thread name, priority, thread group]
0
thank you bro