How do we kill a thread explicitly since stop method is deprecated?
SCJP, SCJD, SCWCD, SCBCD, SCEA
Mehul Sanghvi
Ranch Hand
Joined: Feb 04, 2002
Posts: 134
posted
0
Hi... Thread cannot be killed. But it can be asked to kill itself by interrupt() || interrupted() of Thread class.... browse thru documentation for more details on the method. Regards, Mehul K. Sanghvi.