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 |
When should you use arraylist and when should you use linkedlist?
Explain the difference between jvm and jre?
what is hashmap& hashtable with example?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
How to declare objects of a class ?
0 Answers Akamai Technologies,
why abstract class will have a constructor?
What is the point of polymorphism java?
What is the epoch date?
Can a private method of a superclass be declared within a subclass?
What is palindrome in java?
Why null value is used in string?
Can you override a private or static method in java?