Java notify(), notifyAll() and wait() methods
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1769489/why-are-wait-and-notify-declared-in-javas-object-class">Why are wait() and notify() declared in Java&#39;s Object class?</a>  </p>
</blockquote>



<p>I was wondering why <code>notify()</code>, <code>notifyAll()</code> and <code>wait()</code> methods are present in Object class, whereas other thread related methods are present in Thread class in Java ?</p>
