字符'1'的int值是49

northli / 2023-08-03 / 原文

 int tmp = '1';       

 System.out.println(tmp);

  字符'1'的int值是49