Life cycle of Thread tells the various information of thread form born to terminate. Thread life cycle contains the several stages and at a time any thread can be present in a single state.
States of Thread life cycle
Ready: In this state thread is ready to execute but not running.
When the start() method calls thread enters from born to ready state.
Running: When a run() method executes highest priority ready thread assigned a processor and enter in a running state for execution.
Thread can visit more than ones in a running state.
Blocked: When a running thread has a input-output issue it enters in a blocked state from running state and when input-output issue solves it again comes in a running thread.
When sleep time expires then thread moves to ready state.
When a high priority thread execution completes it calls
Dead: A running thread is enter in a dead state when its execution completes (run() method completes) or terminate for any reason.