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 does string mean in java?
Which variables are stored in heap?
What is object of class in java?
What is string [] args?
In how many ways we can create threads in java?
Does variable declaration allocate memory?
Can you declare a private method as static?
What is the use of predicate in java 8?
What is arrays aslist in java?
What is api data?
Describe the Big-O Notation.
What is Java Package and which package is imported by default?
What is the difference between final, finally and finalize()?
Can constructor be protected in java?
How java uses the string and stringbuffer classes?