DEVFYI - Developer Resource - FYI

What is the purpose of the wait(), notify(), and notifyAll() methods?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

39. What is the purpose of the wait(), notify(), and notifyAll() methods?

The wait(),notify(), and notifyAll() methods are used to provide an efficient way for threads to communicate each other.

(Continued on next question...)

Other Interview Questions