Consider the following method.
public void processString (String str) { str = str.substring(2, 3) + str.substring(1, 2) + str.substring(0, 1); }
What is printed as result of executing the following statements (in a method in the same class)?
String str = ""Frog""; processString(str); System.out.println(str);
a.Frog
b.orF
c.ogroF
d.ogroFr
e.StringIndexOutOfBoundsException