FileReader.read
时间: 2023-11-02 19:07:06 浏览: 131
FileReadWrite with text aread output.zip_In Writing_file readers
The FileReader.read() method is used to read a block of characters or bytes from a file. It reads from the current position in the file and returns the number of characters or bytes read. The method can be used with a FileReader object, which represents a connection to a file on disk. The FileReader.read() method can throw an IOException if there is an error reading from the file. It can also return -1 if the end of the file has been reached.
阅读全文