title: Best way to read properties file in java?
body: <p>I am aware of two ways to read a .properties file: </p>
  
  <p>1- System.getProperties.load(Inputstream for .properties file); </p>
  
  <p>2- Creating a new Properties object and then calling load(Inputstream for .properties file); </p>
  
  <p>In first approach, are we going to store values of .properties file in the System object. Is it utilizing more resources? </p>
  
  <p>Would like to know which is the best way to do it or apart from above two ways, if there is any other best way, please let me know. </p>
  
  <p>Thanks.</p>