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
I don’t want my class to be inherited by any other class. What should I do?
What is passing by reference in java?
How infinite loop is declared?
How can we find the actual size of an object on the heap?
What is an object's lock and which object's have locks in java programming?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is java english?
What is the difference between iterator and list iterator?
Why are functions called methods in java?
What is difference between == and === in js?
How are the elements of a gridbaglayout organized in java programming?
What is not thread safe?
What is thread life cycle?
Should a main method be compulsorily declared in all java classes?
Can you inherit from an abstract class java?