Multiple choice java

Which cannot directly cause a thread to stop executing?

  1. Calling the SetPriority() method on a Thread object.

  2. Calling the wait() method on an object.

  3. Calling notify() method on an object.

  4. Calling read() method on an InputStream object.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

notify() - wakes up a single thread that is waiting on this object's monitor.