InterviewSolution
Saved Bookmarks
| 1. |
Which of the following stops execution of a thread?(a) Calling SetPriority() method on a Thread object(b) Calling notify() method on an object(c) Calling wait() method on an object(d) Calling read() method on an InputStream objectI have been asked this question during a job interview.The query is from Multithreading topic in chapter Multithreading of Java |
|
Answer» Right choice is (b) Calling NOTIFY() method on an object |
|