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 is the similarity between dynamic binding and linking?
What is the use of list in java?
Differentiate between stringbuffer and stringbuilder in java.
How can you share data between two thread in Java?
Tell us something about set interface.
What does i ++ mean in Java?
Is java a software?
What are the 6 functions?
Can classes declared using the abstract keyword cab be instantiated?
What is a class component?
Is null an object java?
What is function and its uses?
What do you understand by weak reference?
What does 3 dots mean in java?
What is try-with-resources in java?