Delete comment from: Javarevisited
Good post. Only one note: the hashcode caching is not the reason for making String immutable, but visa versa hashcode caching mechanism is used because String is immutable.
Oct 15, 2013, 5:24:35 AM
Posted to Why String is Immutable or Final in Java? Explained