the following is a question from the pgjc book
Under which circumstances will a thread stop?
a) the method waitforId() in class MediaTracker is called.
b) the run() method that the thread is executing ends.
c) the call to the start() method of the Thread object returns
d) the suspend() method is called on the Thread object.
e) wait() method is called on the Thread object.
the book has the answer as ONLY B.
but depending how you take the
word "stop" you could make a good argument for A,D, and E also being correct.
Any sugestions on how this type question should be handled on the exam. Should we consider stop to mean moved into a dead state, or moved into a non-running state.