java string immutable confusion
<p>If java strings are immutable then how can we write as:</p>

<pre><code>class str{

   public static void main(){

   String s = new String();

   s = s+"abc";
  }
}
</code></pre>
