(6-2)线程通过()方法可以休眠一段时间,然后恢复运行。
A.run
B.setPrority
C.yield
D.sleep
查看答案
(6-3)()方法是实现Runnable接口所需的。
A.wait()
B.run()
C.stop()
D.update()
(6-2)用()方法可以改变线程的优先级。
A.run
B.setPrority
C.yield
D.sleep
(6-5)处理线程间通信等待和通知的方法是()。
A.wait和notify
B.star和stop
C.run和stop
D.wait和suspend
(6-2)()方法可以用来暂时停止当前线程的运行。
A.stop()
B.sleep()
C.wait()
D.suspend()