Which Is Valid About Threads?

Which Is Valid About Threads?

Threads can execute any part of process. And same part of process can be executed by multiple Threads.

Which of the following are valid thread States?

A thread can be in one of the following states:
  • NEW. A thread that has not yet started is in this state.
  • RUNNABLE. A thread executing in the Java virtual machine is in this state.
  • BLOCKED. A thread that is blocked waiting for a monitor lock is in this state.
  • WAITING. ...
  • TIMED_WAITING. ...
  • TERMINATED.

Which of the following is not a valid state of a thread?

8. Which one of the following is not a valid state of a thread? Explanation: None.

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.