Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Scanner is newer flexibile version of BufferedReader. but BR is still better for read long Strings because has bigger buffer and is better if you use more threads because is synchronised.
2nd Sep 2019, 7:49 PM
zemiak