Which two can directly cause a thread to stop executing?()
- A、 Exiting from a synchronized block.
- B、 Calling the wait method on an object.
- C、 Calling the notify method on an object.
- D、 Calling the notifyAll method on an object.
- E、 Calling the setPriority method on a thread object.
正确答案:B,E
答案解析:有
微信扫一扫手机做题