What will the following Java code output?
String announcement = "This is a test. This test is only a test.";
String corrected = announcement.replaceAll("test", "drill");
System.out.println(corrected);
What will the following Java code output?
String announcement = "This is a test. This test is only a test.";
String corrected = announcement.replaceAll("test", "drill");
System.out.println(corrected);