char and int既然返回的是“读取的字符”,为什么不把返回的类型设为 char.万一字符是汉字呢?怎么能转成 int 型? [解决办法]char和int是能对应的。[解决办法]char是无符号的,不能表示-1.这个方法需要-1提示末尾。