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