Answer Posted / banti
Thread has following life cycles:
1.Ready to Run
2.Runnable
3.Running
4.Blocked/Waiting
5.Dead
Once thread is dead there is no way it coming back to
running state.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do you sort in java?
What is += mean in java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is meant by interface?
What does indexof return in java?
What is thread life cycle in java?
Why is the main method declared static?
If an object is garbage collected, can it become reachable again?
Is main a keyword in java?
What is an enumeration?
What is local declaration?
What is thread safe in java?
Can we make a constructor final?
Is set ordered in java?
How to stop a thread in java? Explain about sleep () method in a thread?