Wednesday, 6 September 2017

Lifecycle and States of a Thread


A thread in Java at any point of time exists in any one of the following states.
  1. New
  2. Runnable
  3. Blocked
  4. Waiting
  5. Timed Waiting
  6. Terminated

No comments:

Post a Comment

Search This Blog

Contact us

Name

Email *

Message *