What's the extact difference between scanner and bufferreader...which we need to use? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the extact difference between scanner and bufferreader...which we need to use?

1st Jan 2016, 12:21 AM
jagadeesh nalla
jagadeesh nalla - avatar
1 Answer
0
Bufferedreader prebuffers the file in Memory first and then the program uses it. You can also declare a Buffer size for the reader Scanner just reads it.
20th Apr 2016, 6:53 PM
ploil_am