What is the difference between the Scanner class and the BufferedReader class? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What is the difference between the Scanner class and the BufferedReader class?

28th May 2017, 8:47 AM
Danilo
Danilo - avatar
2 ответов
+ 1
scanner is used to read user inputs whereas bufferedreader is used to read contents of a file, I think this could solve ur question
28th May 2017, 10:02 AM
Maddula Venkata Krishna Sai Ram
Maddula Venkata Krishna Sai Ram - avatar