Computer Science, asked by Reba000, 1 year ago

Explain BufferedReader, where and why it is used

Answers

Answered by apoorvasrivastava
1
it is a class in java that reads text from a character-input stream to provide efficient reading of characters, arrays, and lines
Answered by pratikturkar306
0
Okay...So baack to computers.!! In BlueJ .. BufferedReader is basically a class.!! this class allows you to take input by the user .!! The Syntax is : BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
basically what it is that inputstreamreader is used to get the input from the user and that gives the input to the bufferedreader and bufferedreader buffers the input and present the input to the compiler in the way it reads.!! So i guess this makes it a bit clearer .!! For easier methods you can use Scanner class.!! thats the best  .!!
                                                      Peace..!!
Similar questions