Java - Strings and String Handling
You want to replace all occurrences of the letter 'a' with 'b' in a string
input. Which code correctly does this considering string immutability?