Thread Life Cycle - Java

Thread Life Cycle - Java

The following is an overview of the lifecycle of a thread.

Created

Alive

Dead

new Thread()

start()

stop(), or

run() exits

stop()

The predicate isAlive() can be

used to test if a thread is alive.

Once a thread is dead, it cannot be

restarted.

Previous slide Next slide Back to the first slide View Graphic Version