ever happened. Explicitly overwriting the value of the string object would have changed the
result: string = string.replace("Dollar bill", "Silver dollar");
B, C, and D are incorrect.
B is incorrect because the condition results in true.
C and D are incorrect because the code compiles fine.
|