What is thread? Explain the life cycle of thread with example.
Answers
Answered by
2
The life cycle of the thread in java is controlled by JVM. The java thread states are as follows:
New
Runnable
Running
Non-Runnable (Blocked)
Terminated
Java thread life cycle
Similar questions