Why string is immutable in java?

#2
Were string not immutable, a association or document might make transformed Also prompt genuine security danger. Alterable strings Might reason security issue done reflection too, Concerning illustration those parameters need aid strings. Effectiveness those hashcode about string is habitually utilized within java. To example, On An HashMap.
 
Top