title: "Monitor" in java threads
body: <p>I have read different things in different blogs about monitors. So I'm a bit confused now. </p>
  
  <p>As much as I understand, monitor is a somebody who would make sure that only one thread is executing the code in the critical section. So is it like if we have 3 synchronized methods/blocks then we would have 3 monitors to make sure that only one thread is in the critical section?</p>
  
  <p>If the above is true then why it is said that in Java every object has a monitor associated with it? It should be every synchronized block is associated with a monitor.</p>