一道scjp题,简单给我解释一下,用中文
Which two can directly cause a thread to stop
executing? (Choose Two)
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.
the answer is B,E,
但我不明白,哪位给我解释一下?