title: Difference between synchronized
body: <p>Is the <code>this</code> and <code>Example.this</code> the same object?</p>
  
  <p>E.g. Is the call <code>this</code> and <code>Example.class</code> inside the <code>synchronized</code> the same object?</p>
  
  <pre><code>class Example {
      public Example() {
          synchronized(this) {
              // some code
          }
      }
  }
  
  
  class Example {
      public Example() {
          synchronized(Example.class) {
              // some code
          }
      }
  }
  </code></pre>