DEVFYI - Developer Resource - FYI

What are the different identifier states of a Thread?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

368. What are the different identifier states of a Thread?

The different identifiers of a Thread are:
R - Running or runnable thread
S - Suspended thread
CW - Thread waiting on a condition variable
MW - Thread waiting on a monitor lock
MS - Thread suspended waiting on a monitor lock

(Continued on next question...)

Other Interview Questions