Why String is immutable

0 votes
I want to know why Java makes the String class immutable.
asked Dec 18, 2012 by sumit
   

1 Answer

0 votes
String has been widely used as parameter for many java classes if string is not immutable this wood lead serious security threat.
answered Dec 19, 2012 by prashant
...