|
|||||||||
|
Submit Links |
Latest Links
| Login
(want to submit links for DLinks? send a mail to krishnas@javabeat.net)
Java: How to stop a thread?submited by krishnas on Thu Mar 27th, 2008 This is one of the frequently asked questions in the interview. Most of the interviewer expect the below answer. “Thread.stop() method is deprecated, so a boolean variable has to be introduced in thread class and run method should check the boolean variable whether to continue execution or come out of run() method”.Topic: java |
|||||||||
|
|||||||||