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
What is multiple inheritance? Is it supported by java?
What is string immutability?
Is Constructor possible in abstract class in java ?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is the difference between Error, defect,fault, failure and mistake?
Is there a jre for java 11?
How many types of equations are there?
Why can we not override static method?
Can a class be private in java?
Explain scope or life time of local variables in java?
What about main() method in java ?
List some java keywords sun like c, c + + keywords?
What is a lambda expression ? What's its use ?
What is meant by stack and queue?
Why does java have two ways to create child threads? Which way is better?