感觉很简单的方法
数字颠倒
http://www.nowcoder.com/questionTerminal/ae809795fca34687a48b172186e3dafe
import java.util.*;
public class Main{
public static void main(String[] args)
{
Scanner in=new Scanner(System.in);
String str=in.nextLine();
StringBuffer rs=new StringBuffer(str);
rs.reverse();
System.out.println(rs);
}
}