What is the life cycle of Thread ?
Answer Posted / karnika
The following diagram shows the states that a Java thread
can be in during its life. It also illustrates which method
calls cause a transition to another state. This figure is
not a complete finite state diagram, but rather an overview
of the more interesting and common facets of a thread's
life. The remainder of this section uses the Clock applet
previously introduced to discuss a thread's life cycle in
terms of its state.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain naming conventions for packages?
What are the default and parameterized constructors?
Give few examples of final classes defined in Java API?
How to remove the trailing spaces from a string?
Explain importance of finally block in java?
Explain different forms of polymorphism?
Is java a digit method?
What is default switch case? Give example.
What is hash table in java?
What is the difference between a local variable and an instance variable?
Why do we create threads in java?
How to find the index of the largest number in an arraylist java?
What are the restrictions imposed by a Security Manager on Applets?.
what is mena by object block any what is the use of that
What is string data type?