title: Modifying static final constant field in a subclass
body: <p>I am writing a concrete class that is intended to be subclassed sometime in the future. One of the fields is treated as a constant file path, but it is meant to be modified in subclasses. I currently have this declaration for PATH_TO_FILE.</p>
  
  <pre><code>public class MyFileHandler
  {
      protected static final String PATH_TO_FILE = "/my/path/to/file"; 
  
      public void writeToFile(String s) { /* Write to PATH_TO_FILE */ }
      public String readFromFile() { /* Read from PATH_TO_FILE */ }
  }
  </code></pre>
  
  <p>How can I allow subclasses to modify the variable PATH_TO_FILE? Should I use a different declaration?</p>