title: How to add double quotes around a String variable in Java?
body: <p>I know how to print double quotes around a String literal in Java, but how do you print them with a String variable? The code below won't compile.</p>
  
  <pre><code>String upperCasePhrase = capInitials("the initial letters should be capitalized");
  System.out.println(\" upperCasePhrase \");
  </code></pre>