public class FanZhuan {
public static void main(String[] args) {
String s = "987654321088123about我是谁";
System.out.println("直接输出:" + s);
String str = String.valueOf(s);
String reverseStr = "";
for (int i = str.length()-1; i >=0; i--) {
reverseStr +=str.charAt(i);
}
System.out.println("反转输出:"+reverseStr);
}
}