Science, asked by dipikarathod5113, 1 year ago

Difference between bufferedreader and filereader

Answers

Answered by anuragpatil29a
0
file reader class is general tool to read in character from file.The Buffered Reader class can wrap around Readers, like File Reader, to buffer the input and improve efficiency. So you wouldn't use one over the other, but both at the same time by passing the File Reader object to the Buffered Reader constructor.

Answered by aishowrya
0
FileReader is just a Reader which reads a file, using the platform-default encoding.


(BufferedReader is a wrapper around another Reader , adding buffering and the ability to read a line at a time.
Similar questions