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
What access modifiers can be used for methods?
Where is singleton pattern used?
What is the function of log?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is a ternary operator in java? What is an interface?
What is the difference between final, finally and finalize()?
What does int [] mean in java?
What is the differences between heap and stack memory in java? Explain
What is the difference between static binding and dynamic binding?
Can we convert stringbuffer to string?
What is double data type?
What is the use of protected in java?
What are the restriction imposed on a static method or a static block of code?
What is the purpose of the return statement?
How do you create a method in java?