When a thread is created and started, what is its initial state

A thread is in the ready state after it has been created and started.

Showing Answers 1 - 6 of 6 Answers

A thread always having some states after creating.

They are:

  • New
  • Runnable
  • Running
  • Blocked
  • Dead
Creating a thread using New keyword  a new thread will create.After it started to run at that movement a thread initial state is Runnable.why because before running state of a thread it will be in running state.

Thread is a process which is call by some component eg in web development, container creates a thread (of service() function) and initialised it by giving appropreate input or arguments.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions