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 will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
How many threads can java run?
What is array initialization in java?
What is a conditional equation?
Can you pass functions in java?
Differentiate between a class and an object.
Difference between method overloading and overriding.
what is difference between equals and ==?
what is the difference between the methods sleep() and wait()? : Java thread
What are the types of java?
How hashset works internally in java?
What classes of exceptions may be thrown by a throw statement?
What are the restrictions imposed by a Security Manager on Applets?.
What are extraneous variables examples?
Do you know how to reverse string in java?