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. The main difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy in Java is the type of data they handle. Byte-oriented Streams (InputStream and OutputStream): These classes deal with raw binary data in the form of bytes. InputStream is used for reading byte-oriented data. … Read more