Difference between bufferedreader and filereader
Answers
Answered by
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
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.
(BufferedReader is a wrapper around another Reader , adding buffering and the ability to read a line at a time.
Similar questions
English,
8 months ago
Physics,
8 months ago
Math,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago