What is buffered reader? Explain with example.
Answers
Answered by
1
buffered reader is a class in Java that reads text from a character-input stream,buffering characters so as to provide for the efficient reading of characters, lines and arrays. The buffer size may be specified. If not, the default size, which is predefined, may be used. examples ..In this example, we are reading the data from the text file testout.txt using Java Buffered Reader class. package com.javatpoint;
import java.io.*;
public class BufferedReaderExample {
import java.io.*;
public class BufferedReaderExample {
Attachments:
khushisingh9026:
thx to make me as brainliest.
Similar questions