Java provides mechanisms for threads to communicate with each other when working on common resources. This post gives you a concrete example of threads communication. She wants to have all of them in ...
Q. What are the states in the lifecycle of a Thread? A java thread can be in any of following thread states during it's life cycle i.e. New, Runnable, Blocked, Waiting, Timed Waiting or Terminated.