public class StringReplace { public static void main(String[] args) { String message = "Hi everyone!";

By | December 30, 2022

public class StringReplace {
public static void main(String[] args) {
String message = “Hi everyone!”;
System.out.println(“message = ” + message.replace(“e”, “X”)); }
}
What is the result?

Correct Answer: C