java中char类型转换成int类型 char a = '1';int i = Integer.parseInt(String.valueOf(a));System.out.println(i); JAVA笔记 2023-10-06 129 点赞 1 评论 195 浏览