2010-05-06 40 views

回答

3

Java char是无符号的; 65535 = 0xFFFF = -1;使用int

1

另请参见this java bug在某些JRE版本中,读取未读取-1时,PushbackReader返回65535。