0

One could read from a txt file using a FileReader object. Why wrap it with a BufferedReader?

Aviv Cohn
  • 15,543
  • 25
  • 68
  • 131
  • The [javadoc](http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html) of the class explains this: *Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.* – Luiggi Mendoza Apr 11 '14 at 20:27
  • @LuiggiMendoza So it's just faster/more efficient, by adding a buffering mechanism on top of the actual reading? – Aviv Cohn Apr 11 '14 at 20:28
  • 2
    "just" faster and more efficient are pretty good reasons to me. – Jeroen Vannevel Apr 11 '14 at 20:29

0 Answers0