Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
What is the difference between the Scanner class and the BufferedReader class?
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