What are the states associated in the thread in Java?
Thread contains ready, running, waiting and dead states.