Skip to content

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

3
  • Anukriti Sharma
  • joshi daniel
Why wait (), notify () and notifyAll () must be called from synchronized block in Java

Most of Java developer knows that wait() ,notify() and notifyAll() method of object class must have to be called inside synchronized method or synchronized block in Java but how many times we thought why ? Recently this questions was asked to in Java inte

Read this post on javarevisited.blogspot.com


Popular Articles by this blogger