The char data type is a single 16-bit Unicode character. It has a minimum value of '\u0000' (or 0) and a maximum value of '\uffff' (or 65,535 inclusive).
所以表示范围为0-65535应该是没有疑问,至于书上说的0-255一般是指可以键盘直接输入的字符,如数字、字母等。但也可以使用'\u0108'这样的形式表示一个Unicode字符,很多非打印字符都是以这样的方式表示。