Common Methods of the BufferedReader Class

Cards (5)

  • close() = closes the stream and any resources associated with it.
  • read() = reads a single character.
  • read(char[] buffer, int off, int len) = Reads characters into a portion of an array from position off for len characters.
  • readLine() = Reads a line of text.
  • skip(long n) = Skips the specified number of characters.