Answer Posted / gajendra
A Thread has the following life cycles states
1.New/Born state:When a thread is just instantiated we say
that the thread is in born state.now it can not compete for
CPU cycles.
2.Active state:When we call the start() on thread object a
thread moves from born state to active state.Here the code
associated with run() will be executed.
3.Blocked state:When the thread is temporarily keep out of
ready queue,we say that the thread is in blocked state. In
this state it can't compete for CPU cycles.
4.Dead state:When the thread execution is completed or
forcibly terminate the thread, it will be moved to dead
state.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What is data movement?
what do you understand by the term string with respect to java?
What is the Difference between Final Class && Abstract Class?
Why can't we make a class private in java?
What are the advantages of unicode?
What is application tier?
Is there any sort function in java?
What is the primary benefit of encapsulation?
when should you use stringbuilder class in a program?
How do you create a method in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is the argument in java?
What is loop in java?
Is double bigger than float?
Explain about the performance aspects of core java?