在Java中,可以使用( )方法设置线程的优先级

在Java中,可以使用( )方法设置线程的优先级

A.getPriority()

B.setPriority()

C.yield()

D.wait()

正确答案是B