title: Is it better practice to use String.format over string Concatenation in Java?
body: <p>Is there a perceptible difference between using <code>String.format</code> and String concatenation in Java?</p>
  
  <p>I tend to use <code>String.format</code> but occasionally will slip and use a concatenation. I was wondering if one was better than the other.</p>
  
  <p>The way I see it, <code>String.format</code> gives you more power in "formatting" the string; and concatenation means you don't have to worry about accidentally putting in an extra %s or missing one out.</p>
  
  <p><code>String.format</code> is also shorter.</p>
  
  <p>Which one is more readable depends on how your head works.</p>