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

Q

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

✍: Guest

A

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

2012-06-14, 2639👍, 0💬