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
What is function and its uses?
Can we create object of static class?
What is tree in java?
What is module with example?
Will minecraft java be discontinued?
Difference between current previous versions of Java?
What are mutable classes?
Explain purpose of sleep() method in java?
How to sort an array in java without using sort method?
How do you define a variable?
Why does java not support pointers?
Can a singleton class be inherited?
How do I get 64 bit java?
What is the new line character?
What is ternary operator?