Consider the following example.
String str = new String(); str = \"Hello\"; System.out.println(str); //Prints Hello str = \"Help!\"; System.out.println(s
The string object that was first referenced by str was not altered, all that you did was make str refer to a new string object.
str