title: String declaration - Two different types, which is better?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/3652369/java-string-declaration">Java String declaration</a><br>
    <a href="https://stackoverflow.com/questions/334518/">Java Strings: “String s = new String(”silly“);”</a><br>
    <a href="https://stackoverflow.com/questions/390703/">What is the purpose of the expression “new String(…)” in Java?</a></p>
  </blockquote>
  
  
  
  <p>Whats is the difference between</p>
  
  <pre><code>String a = new String("SomeValue");
  </code></pre>
  
  <p>and </p>
  
  <pre><code>String a = "SomeValue";
  </code></pre>
  
  <p>What is the difference and Which one is better and why ?</p>
  
  <p>Thanks.</p>