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 |
Can a static class have a constructor?
What is a serializable interface?
What is the immediate superclass of the Dialog class?
What happens to a static var that is defined within a method of a class?
Can inner class be public in java?
What is a nested structure?
Which sorting is best in java?
What is definition and declaration?
What are order of precedence and associativity, and how are they used?
What is default locale java?
y cant i declare method like public final static show()
How does arraylist size increase in java?