Tuesday, November 29, 2011

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

The wait(), notify(), and notifyAll() methods are used to provide an efficient way forthreads to wait for a shared resource. When a thread executes an object&
Category:Java Interview Questions

No comments:

Post a Comment