int a = new Integer("1234").intValue()
或
int b = Integer.parseInt("1234")
System.out.println(a+1+"\n"+b+1)之后都为1235。
转载于:https://www.cnblogs.com/rouge/p/3277947.html