Which of these is not a thread state?
a. new
b.runnable
c.sleep
d.terminated?
Answers
Answered by
8
Answer:
C.
Explanation:
A thread can be in one of the five states: New, Runnable, Running, Non-Runnable (Blocked), Terminated.
Answered by
0
sleep
Explanation:
A thread, withinside the context of Java, is the route accompanied whilst executing a program.
All Java packages have at the least one thread, called the principle thread, that is created via way of means of the JVM on the program's start, whilst the principle() approach is invoked with the principle thread.
There are the handiest four states in the thread lifestyles cycle in java new, runnable, non-runnable and terminated.
Similar questions
Math,
7 months ago
Social Sciences,
7 months ago
History,
1 year ago
Chemistry,
1 year ago
Math,
1 year ago