Java Examples – How to read file in Java using BufferedReader

In this lesson we will learn How to read file in Java using BufferedReader.

BufferedReader (extends Reader) Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
The buffer size may be specified, or the default size may be used. The default is large enough for most purposes.

Now Lets see the following Example


Partner Sites