Life Cycle of Thread

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


Please Help Members By Posting Answers For Below Questions

How to perform selection sort in java?

580


What is a dynamic array java?

511


Why char array is favored over string for the storage of passwords?

553


Does list allow duplicates in java?

514


Describe the syntax of multiple inheritance? When do we use such an inheritance?

581






Can we clone singleton object in java?

558


What is the difference between a vector & an array list?

674


What are different types of references?

526


What is encapsulation in java?

616


Explain about the main() method in java?

565


What is bubble sort in java?

612


How do you join strings in java?

516


What best practices should you follow while writing multithreaded code in java?

539


What does it mean that a class or member is final?

552


what is synchronization? : Java thread

559