I am doing applied reasoning
java's mock exam. came up with this question:
String a="pay";
String b ="lay";
a.concat("2");
a.replace("p","b");
b="no";
a+=b.toUpperCase();
Q:the content of a:
the answer is "payNO".
SO, what are we saying here, String is somehow able to be modified?
Indy