Strings memory model
<p>What I read about strings is when a string object is created in Java it is immutable.  For example:</p>

<pre><code>String s=new String();
s="abc";
s="xyz";
</code></pre>

<p>Does the <code>String s</code> no longer point to <code>"abc"</code>?</p>

<p>And another thing: what is size of s;
Is the <code>String</code> object analogous to a <code>char*</code> pointer in C in terms of the memory model?</p>
