+1 vote
in JAVA by
What is the purpose of using BufferedInputStream and BufferedOutputStream classes?

1 Answer

0 votes
by

Java BufferedOutputStream class is used for buffering an output stream. It internally uses a buffer to store data. It adds more efficiency than to write data directly into a stream. So, it makes the performance fast. Whereas, Java BufferedInputStream class is used to read information from the stream. It internally uses the buffer mechanism to make the performance fast.

Related questions

0 votes
asked May 5, 2021 in JAVA by SakshiSharma
0 votes
asked May 4, 2021 in JAVA by SakshiSharma
...