replace all occurrences of the letter a with the letter b in a string variable named example
Example: how to replace all of one character with nothing in java
String meal = "Hambbburger";
String replaced = meal.replaceAll("b","");
String meal = "Hambbburger";
String replaced = meal.replaceAll("b","");