Multiple choice technology programming languages

What methods java providing for Thread communications

  1. Wait

  2. notify

  3. notifyAll

  4. Sleep

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Java's Object class provides wait(), notify(), and notifyAll() for inter-thread communication using the monitor pattern. These methods must be called within synchronized code. The sleep() method pauses a thread but is not used for communication. The claimed answer A, B, C is correct.