What are the different states of a thread ?
The different stated of a thread : * NEW : A Fresh thread that has not yet started to execute. * RUNNABLE : A thread that is executing in the Java virtual machine. * BLOCKED : A thread that is blocked waiting for a monitor lock. * WAITING : A thread that is wating to be notified by another thread. * TERMINATED : A thread whos run method has ended.