Method Synchronization in java
<p>How it is possible that both static and non static java synchronized method running in parallel while writing java synchronized code ?</p>

<pre><code>public class Counter{

   private static count = 0;

   public static synchronized  getCount()
   {
      return this.count;
   }

   public synchronized setCount(int count)
   {
      this.count = count;
   }
}
</code></pre>
