Explain life cycle of a Thread?
A thread can aquire following states in life cycle
1.Runnable : when a new thread calls start() method, it will undergo runnable state.
2.Not Runnable : when a thread calls sleep() or wait() method , it will undergo not runnable state. There is another case when a Thread Blocked on IO it'll also undergo not runnable state.
3.Dead : when run() method execution is over the thread is going to die.