class StringTest {
public static String reversingString(String string) {
String result = null;
if (string != result) {
int len = string.length();
result = new String();
int i = 0;
while (i < len) {
result += string.charAt(len - i - 1);
i++;
}
}
return result;
}
}