One.
If the buffer is an array, as previously said, then writing bufr.read (BUF) cannot be understood. This sentence can only be seen as BUFR this buffer object, using the Read method, read the data into the BUF, not the buffer object BUFR read BUF array.
The buffer object has its own concrete method, rather than inheriting the parent class's read-reading method of a single character, depending on the principle.
The ReadLine method is more optimized than the method of the read single character, which is unique to the buffer object itself. Previously, the data in the hard disk was read into the buffer array of memory, and now it is qualified to operate one line at a time.
For continuous reading of a single character, and then in the form of a string output, can be used StringBuilder or stringbuffer to operate. StringBuilder the bottom layer is an array, and is variable length and returns a string.
Java-preliminary understanding of-i/o flow (character stream-buffer-bufferedreader-readline method principle)