wxgfd 2017-08-30 10:45 采纳率: 50%
浏览 892

这是一个关于java线程方面的面试题

Which two CANNOT directly cause a thread to stop executing? (Choose Two)

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.

解答:AC

里面的abc可以理解,但是de是怎么会是

  • 写回答

1条回答 默认 最新

  • oyljerry 2017-08-30 14:05
    关注

    de是阻塞动作。从这方面考虑

    评论

报告相同问题?