The method read() of FileReader class returns ________ when the end of the file is reached.

  • True
  • -1
  • 0
  • FALSE
The read() method of the FileReader class returns -1 when the end of the file is reached. This indicates that there are no more characters to read from the file.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *