一个线程的选择题
which two can not directly cause a thread to stop executing?
A.Existing from a synchronized block.
B.Calling the wait method on an object
C.Calling notify method on an object.
D.Calling read method on an InputStream object
E.Calling the SetPriority method on a Thread object
我自己选的是B 和答案不同啊 还有E选项不懂什么意思
麻烦大家解答一下 多谢了
------解决方案--------------------E选项就是说 设置线程的优先级。
设置线程优先级当然是不会直接引起线程停止执行的了。
------解决方案--------------------楼主粗新大意被题目骗了吧?
which
two can
not directly cause a thread to stop executing?
------解决方案--------------------can not