AP CSP

consider the following

public static String mystery(String str) {
String ret = “”;

for (int i = str.length() - 1; i >= str.length() / 2; i - = 2) {
ret += str.substring(i - 1, i ) ;
}
return ret;
}

What value is returned as a result of the method call mystery(“abcdefg”)?

Respuesta :

ACCESS MORE