A question on JTest asks
<pre>
Which methods may stop a
thread from executing?
A. sleep()
B. stop()
C. yield()
D. wait()
E. notify()
F. notifyAll()
G. synchronized()
</pre>
The answer given by JTest is A, B, C and D.
What about E and F? I thought that notify() would stop the thread and give control to somthing that is waiting?