Difference between Scanner and BufferReader Class in Java | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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