Which of these method is used to avoid polling in Java?
A. wait()
B. notify()
C. notifyAll()
D. All of the mentioned
Answer:A
Which of these method is used to avoid polling in Java?
A. wait() B. notify() C. notifyAll() D. All of the mentioned