When reading from a file using a FileReader, it's often wrapped with a ________ to increase efficiency.

  • BufferedReader
  • FileBufferReader
  • FileWriter
  • InputStreamReader
When reading from a file, wrapping a FileReader with a BufferedReader is a common practice in Java. BufferedReader buffers the input, reducing the number of reads from the file and thus increasing efficiency.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *