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 |
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What package is math in java?
What do you mean by platform independence?
What is a finally block? Is there a case when finally will not execute?
Is there is any difference between a scrollbar and a scrollpane?
Explain public static void main(string args[]) in java.
Difference between hashCode() & equals()?
What is the most important feature of java? What is an interface?
What do you understand by weak reference?
Is age a discrete variable?
When should you use arraylist and when should you use linkedlist?