Posts by leo.b • 1 point
1 post
-
0
votes1
answer37
viewsQ: String replace is not performing swap
I am not able to alter the character of my string with that of the map value, if they are equal: key and character. import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; public…