A. java char 轉int 咋轉. char c = '8'; //先轉換成String類型: String s = String.valueOf(c); //再轉換成Int類型: int i = Integer.parseInt(s);
確定! 回上一頁