title: string literals as argument to methods
body: <p>Any String literal in Java is a constant object of type <code>String</code> and gets stored in the String literal pool.</p>
  
  <p>Will <code>String</code> literals passed as arguments to the methods also get stored in the <code>String</code> literal pool?</p>
  
  <p>For example when we write,</p>
  
  <pre><code>System.out.println("Hello");
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>anyobj.show("Hello");
  </code></pre>
  
  <p>will a <code>String</code> "Hello" be created and stored in the <code>String</code> literal  pool?</p>
  
  <p>Is there any way to print the contents of the String literal pool?</p>