228 B
228 B
Which methods are used to modify or check a thread's priority at runtime?
🛠️
setPriority(int): Sets the priority to a specific value.getPriority(): Returns the current priority of the thread.