title: what happens with new String("") in String Constant pool
body: <p>if i create a string object as </p>
  
  <pre><code>String s=new String("Stackoverflow");
  </code></pre>
  
  <p>will String object created only in heap, or it also makes a copy in String constant pool.</p>
  
  <p>Thanks in advance.</p>