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 scope & storage allocation of global and extern variables? Explain with an example
What is a constructor overloading in java?
what release of java technology are currently available what do they contain?
What is the difference between hashset and treeset in java?
Difference between local and global transaction ?
Why does java doesnt suuport unsigned values?
What is the difference between static and non-static variables?
what is abstract method with example?
What is the super void?
What is the map interface in java programming?
What are the differences between forwarding () method and sendredirect() methods?
What is object-oriented programming?