ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is difference between notify() and notfiyAll()?

notify( ) wakes up the first thread that called wait( ) on the same object.notifyAll( ) wakes up all the threads that called wait( ) on the same object. The

highest priority thread will run first.

 

Related Posts Plugin for WordPress, Blogger...
Flag Counter