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 a java list?
Can an interface extend a class?
What is the difference between multiple processes and multiple threads?
what is difference Between Core Java and advance java
60 Answers HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
What is the difference between inheritance and encapsulation?
briefley expalin about the packages
How do you override a variable in java?
diff between abstract methods and interfaces with programing (code) example?
what is meta-Inf?
Advantages of Inheritance in java.
What are anonymous inner classes?
Program to print 1 1 2 1 2 3 1 2 3 4 like that