Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

However, if the input buffer is initially at end-of-file, then the read method will return ?-1 and the attempt to place the terminator character will throw an ArrayIndexOutOfBoundsException.

...