1.char 2 int. 方法一:將char轉換成string型別,然後呼叫parseint的方法。 char a = '7';. int b = integer.parseint(a.tostring());.
確定! 回上一頁