用string到int的转换,如果string位数超过10位以上,会报java.lang.NumberFormatException: For input string: "200710180917" package Test; public class TestInt { /** * @param args */ public static void main(String[] args) { String str="2007101809"; int i = Integer.parseInt(str); System.out.prin...