Tuesday, November 29, 2011

What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented.:basically there are 2 types of streams.byte streams that are used to handle stream of bytes and character streams for handling streams of characters.in byte streams input/output streams are the abstract claases at the top of hierarhy,while writer/reader are abstract classes at the top of character streams hierarchy.
Category:Java Interview Questions

No comments:

Post a Comment