Blogger

Delete comment from: Javarevisited

jfolson said...

Another problem would be breaking the hashcode and comparable contracts. An object's hashcode cannot change. Neither can it's compareTo values relative to other object's.

Jan 20, 2012, 10:23:04 AM


Posted to Why String is Immutable or Final in Java? Explained

Google apps
Main menu