Question: what is the default buffer size for bufferedreader
I am writing a program in Java for reading the big text file. I want to know what is the default buffer size for bufferedreader?
Is there any example of reading the big text file efficiently?
The default buffer size of the BufferedReader class is 8192 chars, which is sufficient for general programming.
Developers around the world is using
java.io.BufferedReader class to create programs in Java for reading large text files.
Read the example Java Read File Line by Line - Java Tutorial.
Above example teaches you how to write programs for reading big sized text files using the java.io.BufferedReader class.