当前位置: 代码迷 >> J2SE >> 一个线程的选择题解决办法
  详细解决方案

一个线程的选择题解决办法

热度:102   发布时间:2016-04-24 00:24:25.0
一个线程的选择题
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
  相关解决方案