Calling .replace on the String object that a and b are referencing seems like what you'd want. When you call = on b you're creating a new String object reference.
1 likes 0 replies
?
Calling .replace on the String object that a and b are referencing seems like what you'd want. When you call = on b you're creating a new String object reference.
1 likes 0 replies