//字符倒转
public static void main(String[] args){
String s = "1234567";
String s2 = "";
for(int i=0; i<s.length(); i++)
{
s2 = s.charAt(i)+s2 ; //一直将值往左边加
}
System.out.println(s2);
}
08-19
08-19
08-19