explain the life cycle of thread?
Answer Posted / srinivas
There are number of stages for executing the Thread.
1.born state
2.runnable
3.running(wait,sleep)
4.blocked(wait,sleep)
5.destroy.
| Is This Answer Correct ? | 45 Yes | 22 No |
Post New Answer View All Answers
Explain 5 features introduced in jdk 1.7?
What is the difference between the prefix and postfix forms of the ++ operator?
What is the functionality of the stub?
What does n mean?
Define iterator and methods in iterator?
What are operators and its types?
what is predefined function in java?
What is the loop in java?
Why do we use predicate in java?
What is a buffer in java?
What is package private scope in java?
What is the difference between java applets and applications?
Can a class be protected in java?
What is class and its types?
What does java edition mean?