January 2018
Intermediate to advanced
434 pages
14h 1m
English
BufferedReader reads a couple of characters at a time from the input stream and stores them in the buffer. That’s why it is called BufferedReader. On the other hand, InputReader reads only one character from the input stream and the remaining characters still remain in the stream. There is no buffer in this case. This is why BufferedReader is fast, as it maintains a buffer, and retrieving data from the buffer is always quicker compared to retrieving data from disk.
Read now
Unlock full access