-
Which of the following stops execution of a thread?
-
- Calling read() method on an InputStream object
- Calling SetPriority() method on a Thread object
- Calling notify() method on an object
- Calling wait() method on an object
- None of these
Correct Option: C
notify() wakes up a single thread which is waiting for this object.