From the complete reference book:
Sentence 1 contradicts with the Sentence 2. What is happening? Will appreciate an example.Quote:
One last point: To say that the strings within objects of type String are unchangeable means that the contents of the String instance cannot be changed after it has been created. However, a variable declared as a String reference can be changed to point at some other String object at any time.