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 are java packages? What's the significance of packages?
What is codebase?
What are the steps that are followed when two computers connect through tcp?
How to overcome the exception object reference not set to an instance of object?
How do you convert an int to a double in java?
What do you mean by collectors in java 8?
What is meant by stack and queue?
What is exception in java?
What is the old name of java?
What do you understand by overloading and overriding in java?
How big is a gigabyte?
Explain JMS in detail.
What is the use of object and class classes?
Can a class have an interface?
What is multithreading and its advantages?