title: Does making a Reentrant Lock static and make it a mutex?
body: <p>In Brian Goetz's book, Java Concurrency in Practice, his example of a Reentrant lock is programmed like this:</p>
  
  <pre><code>Lock lock = new ReentrantLock();
  </code></pre>
  
  <p>However, I am curious to know if changing the above code to:</p>
  
  <pre><code>private static final Lock lock = new ReentrantLock();
  </code></pre>
  
  <p>causes the lock to now act as a mutex, or if it is unnecessary and redundant.</p>
  
  <p>Thus, does the functionality of this code change if the lock is made private, static, and final?</p>
  
  <pre><code>lock.lock();
  try {
      //method stuff
  } finally {
      lock.unlock();
  }
  </code></pre>
  
  <p>Thank you all in advance.
  Matt </p>