字符'1'的int值是49

 int tmp = '1';       

 System.out.println(tmp);

  字符'1'的int值是49     

posted @ 2023-08-03 15:35  northli  阅读(144)  评论(0编辑  收藏  举报