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
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
Why stringbuilder is not thread safe?
Difference between collection, collection and collections in java?
How to use arraylist in java netbeans?
What is the basic of java?
What is a lightweight component?
Which variables are stored in stack?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Is 0 a prime number?
How many types of parsers are there?
Is string a data type in java?
What are multiple inheritances? Is it supported by java?
Is vector synchronized in java?
Difference between overriding and overloading in java?
Which command from the jdk compiles a java program?