New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What is the difference between the Scanner class and the BufferedReader class?
2 Answers
+ 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