explain the life cycle of thread?
Answer Posted / srinivas ponugoti
There are number of stages for executing the Thread.
1.born state
2.runnable
3.running
4.blocked(wait,sleep,suspend)
5.destroy(stop).
| Is This Answer Correct ? | 27 Yes | 13 No |
Post New Answer View All Answers
Is arraylist a class in java?
What are methods?
What about interthread communication and how it takes place in java?
How can we create a thread in java?
What is a values collection view ?
Can you give names of Container classes?
Is java a digit method?
What is a local, member and a class variable?
What is the function of static in java?
Can you pass functions in java?
What is default switch case? Give example.
What is the difference between error and an exception?
Explain runtime exceptions?
When throws keyword is used?
Difference between process and thread?