how can i kill thread without stop() and destroy()
Answer / ganesh slv
Hey..
{
Thread t = new Thread (this); // or may be in some other ways
t.start (); // starting the thread.
// some codes here
// Now you can stop you thread by assigning null to the
thread
t = null;
}
Is This Answer Correct ? | 6 Yes | 7 No |
What is serializable interface?
13 Answers Infosys, Probity Soft, Seed Infotech,
What is a bufferedreader?
What is the difference between equals() and == in java?
What is the generic class?
Does java map allow duplicates?
What is the advantage of preparedstatement over statement?
What is hard code & soft code?
Is passing by reference faster?
What are the 8 primitive data types in java?
Explain the meaning of java applet.
Describe different states of a thread.
What is an anonymous class?