in Java is it exactly the same for a String been transferred to char array and then changed back? i.e.
String a = "Hello World";
String b = String.copyValueOf(a.toCharArray());
are String a and b guaranteed to be the same?
Yes I know in this situation they would be equal, but I mean, are they guaranteed to be equal in any case no matter what was the value?