*Based on answer choices A-E, what is the code's output?
7. Given the following code, the output is __.
String str = "Nakamori Akina";
System.out.print(str.replaceAll("a", "o"));
A. Nkmri kin
B. NakamoriAkina
C. Nokomori Akino
D. Nokomori Okino
E. Nakamari Akina
The code's output is: C. Nokomori Akino
Comments
Leave a comment