explain the life cycle of thread?
Answer Posted / ganesh
There are number of stages for executing the Thread.
1.ready to run
2.run
3.suspend(wait,sleep)
4.resume(notify,notify all)
5.kill.
| Is This Answer Correct ? | 64 Yes | 26 No |
Post New Answer View All Answers
Why we go for collections in java?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is difference between variable declaration and definition?
What is the difference between call by reference and call by pointer?
What type of language is java?
Can we change the scope of the overridden method in the subclass?
Does set allows null in java?
What is the purpose of the system class in java programming?
why Java does not support multiple inheritances?
Can finally block be used without a catch?
What is a function argument in java?
What is a singleton class? Give a practical example of its usage.
Define an abstract class with reference to java.
Why does java have two ways to create child threads?
How we create object in copy constructor?