Q29
What is the purpose of the getState() method in Java threads?
A.
It suspends a thread
B.
It starts a new thread
C.
It retrieves the current state of a thread
AnswerD.
It sets the state of a thread
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board