String s = "899";int a = Integer.parseInt(s);int a = Integer.valueOf(s).intValue();//注意不用intvalue()方法也可以自動拆箱了。 三、Char和int.
確定! 回上一頁