Answer Posted / 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 |
Post New Answer View All Answers
What does || || mean in math?
What do you mean by Function Overloading in java?
What are exception handling keywords in java?
Explain wrapper classes in java?
What is the difference between yield() and sleep()?
Why is singleton instance static?
What is the size of an array?
How can you traverse a linked list in java?
What is boolean logic?
How much is a java license?
Which is bigger float or double java?
Is logger a singleton?
What is nextint java?
What data type is a string?
What is map and hashmap in java?