0

Difference between Scanner and BufferReader Class in Java

More User Convient At a Time By Dynamic inputs

7th Jul 2017, 2:29 PM
Tirth Luhar
Tirth Luhar - avatar
1 Odpowiedź
+ 1
Though both are meant for standard input but Scanner is used for parsing tokens from the contents of the stream while BufferedReader just reads the stream and does not do any special parsing. BufferedReader is synchronized and Scanner is not
8th Jul 2017, 7:46 PM
Mehman Ismayilov
Mehman Ismayilov - avatar