JAVA Programming :: Threads - Discussion
Home > JAVA Programming > Threads > MCQs Questions Discussion
6 / 6
Choose the correct option.
Which of the following statements are true.
AThe wait method defined in the Thread class, can be used to convert a thread from Running state to Waiting state.
BThe wait(), notify(), and notifyAll() methods must be executed in synchronized code.
CThe notify() and notifyAll() methods can be used to signal and move waiting threads to ready-to-run state.
DThe Thread class is an abstract class.
EBoth B & C
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!