String is immutable:
String s="hello";
s+="bfgkjdf";
Now the value of s is changed.. then how string is immutable?please explian it clearly
String s="hello";
s+="bfgkjdf";
Now the value of s is changed.. then how string is immutable?please explian it clearly