public final void readChar() throws IOException {
  currInt=reader.read();
  ch=(char)currInt;
  if (ch == '\n') {
    line++;
  }
}

public final void readChar ( ) throws IOException { currInt = reader . read ( ) ; ch = ( char ) currInt ; if ( ch == '\n' ) { line ++ ; } }
reads the next character and loads it into the scanner local state .
