BufferedReadreader Scanner
1. Synchronous 1. Not Synchronous
2. should be used within multiple threaded App. 2. Should be used single threaded App.
3. has large Buffer(8 KB byte buffer) 3. small buffer(1 KB char buffer)
4. it's bit faster. simply reads sequence of character. 4. Little sower, As scanner does parsing of i/p data.
No comments:
Post a Comment