java numeric characters and a relationship of 97

A character into a character constant variable, the actual ASCII codes corresponding to the characters to the storage unit. The 'a' is the ASCII code for the decimal number 97, c1 = 'a', 01100001 in binary is stored in memory 97. Character data, its storage form similar to the form of the integer stored in ASCII code storage. So that the character data can be common, and between the integer data. A byte character data only, it can only store integer ranging from 0 to 255. Note: char java in the range 0-65535 this is possible with different computers and operating systems vary  

Reproduced in: https: //my.oschina.net/itfanr/blog/195663

Guess you like

Origin blog.csdn.net/weixin_33739523/article/details/91799540