Skip to main content

Home/ Java/ Group items tagged notifyAll

Rss Feed Group items tagged

Javin Paul

Why wait (), notify () and notifyAll () must be called from synchronized block in Java - 0 views

  •  
    Best article I have come acrsoo about wait()notify() and notifyAll() methods in java in internet. these method forms the inter-thread communication and correct understanding of these methods are must. wait() and notify)() method has to be called from synchronized method or block but why ?? This same questions was asked in a Java interview to me and I didn't know the correct answer ahh.
1 - 1 of 1
Showing 20 items per page