title: Class Level and Object Level lock synchronization
body: <pre><code>class MyClass
  {
      public synchronized void print() {}
  
      public static synchronized void buffer() {}
  }
  </code></pre>
  
  <p>Making static object synchronized makes a CLASS level object where only one Thread can access this. The class has both static and non-static Synchronized methods. </p>
  
  <ol>
  <li><p>Can other threads(Thread-B) access <strong>non-static</strong> synchronize methods() via <strong>object lock</strong> while another Thread (Thread-A) using static synchronized (Acquiring a <strong>class level lock</strong>) method?</p></li>
  <li><p>I hope non of the threads access any of the static synchronized methods until (Thread-B) release the lock.</p></li>
  </ol>