Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
NEW – We can create a new Thread object using new operator and the newly created thread that has not yet started the execution.
RUNNABLE – Either the thread is running or ready for execution but it’s waiting for resource allocation.
BLOCKED – Waiting to acquire a monitor lock to enter or re-enter a synchronized block/method.
WAITING – Waiting for some other thread to perform a particular action without any time limit.
TIMED_WAITING – Waiting for some other thread to perform a specific action for a specified time period.
TERMINATED – The thread has completed its execution.