Physics, asked by Jiyang7244, 1 year ago

What is thread? Explain the life cycle of thread with example.

Answers

Answered by hanthi
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