title: How to use Java property files?
body: <p>I have a list of key/value pairs of configuration values I want to store as Java property files, and later load and iterate through.</p>
  
  <p>Questions:</p>
  
  <ul>
  <li>Do I need to store the file in the same package as the class which will load them, or is there any specific location where it should be placed?</li>
  <li>Does the file need to end in any specific extension or is <code>.txt</code> OK?</li>
  <li>How can I load the file in the code</li>
  <li>And how can I iterate through the values inside?</li>
  </ul>