ASCII码表:American Standard code for information interchange,美国信息交换标准代码 (0-1127)

unicode 码表:万国码,页数数字和自读的对照关系。开头0-127部分和ASCII完全一样,但从128开始包含更多字符

‘0’----48

'A'---65

‘a’----97

public class Demo03Datetype{
	
	public static void main(String [] args)
	{
		char num1='A';
		System.out.println(num1+0); //65 为'A'的ASCII的码值
	}
}

  

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-09-22
  • 2021-07-13
相关资源
相似解决方案