0
What is a duck number in java provide with example
3 ответов
+ 13
- Scanner parses the content of a stream while BufferedReader just reads the stream.
- Scanner is not synchronised while BufferedReader is.
- Scanner has a smaller, but for the most usages sufficient buffer.
- BufferedReader throws IOExceptions, Scanner hides them.
0
ok but upto now i used scanner object but what is the difference among scanner and BufferedReader