Computer Science, asked by vanshika995, 10 months ago

difference between scanner object and bufferedreader object​

Answers

Answered by HermioneGranger62
4

Answer:

here is your answer

1. major difference between scanner class and buffered reader is synchronized while scanner isn't , this means we cannot share scanner between multiple threads but u can share the buffered reader objects

2. scanner uses regular expressions to read and parse text input it can accept custom delimiter and parse text into primitive data type

hope it helps u but no needa mark it brainliest

thank u

Similar questions