public final char readChar() throws IOException {
int ch1 = this.read();
int ch2 = this.read();
if ((ch1 | ch2) < 0)
    throw new EOFException();
return (char)((ch1 << 8) + (ch2 << 0));
    }
用ultraedit打开text.txt看看是不是文件写错了