Different States of Java Threads
Introduction In Java, threads can have States. The Thread.State enum defines the different states that a Java thread can have. This enum defines the following values - NEW RUNNABLE BLOCKED WAITING TIMED_WAITING TERMINATED In the subsequent sections I will provide a brief overview of these states along with possible transitions between them. States of a Java Thread NEW This is the default state a thread gets when it is first created....