previous
|
start
|
next
Terminating Threads
A thread terminates when its
run
method returns
Do not terminate a thread using the deprecated
stop
method
Instead, notify a thread that it should terminate
t.interrupt();
previous
|
start
|
next