When String is immutable, what happens to original content ?
If String is immutable and with 'final' and reference alone changed, when we make change in content, what will happen to old object ?
i.e.String name="John";
name="smith";
Whether String object "John" will be kept in memory or where it will go after change?

