What is the difference between the Scanner class and the BufferedReader class? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

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

28th May 2017, 8:47 AM
Danilo
Danilo - avatar
2 Réponses
+ 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