November 15, 2012

The Unbearable Immutability of Java Strings

Here is a quick explanation of what an Immutable String is in Java.
Basically, an immutable string means that the string 'object' can't be changed, but references to it can.