Blogger

Delete comment from: Javarevisited

Anonymous said...

@Keyur, in classloading name of class is passed as String, if String wasn't immutable its possible to change the name of that String from somewhere else, which can compromise security by loading different class.

May 20, 2015, 2:54:07 AM


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

Google apps
Main menu