字串轉換成數字則簡單多了,因為字串物件本身就有提供轉換的方法。例如: String test = "12"; int test2 = Integer.parseInt(test);. 就可以把字串轉換成數字, ...
確定! 回上一頁