String str = "123"; int a = Integer.parseInt(str); System.out.println(a); Integer b = Integer.valueOf(str); System.out.println(b);
確定! 回上一頁