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 |
Is array serializable java?
Can applet in different page/s communicate with each other?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Why is the type for real numbers called double?
State some advantages of java?
What is array list in java?
What are the observer and observable classes?
Why operator overloading is not in Java?
What are pass by reference and pass by value?
What is an inner class in java?
What is substring of a string?
What is meant by overloading?