Difference between Reader/Writer and InputStream/Output
Stream?

Answer Posted / karan

The Reader/Writer class hierarchy is character-oriented, and
the Input Stream/Output Stream class hierarchy is byte-oriented.
Basically there are two 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 classes at the top of
hierarchy,while writer/reader are abstract classes at the
top of character streams hierarchy.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a boolean in java?

582


What is listnode in java?

539


What are serialization and deserialization?

733


How many bytes are a float?

511


What is the size of string?

566






What is the default size of arraylist in java?

511


What is the primitive type byte?

587


What is the concatenation operator in java?

580


What is nextint java?

551


When parseint method can be used?

543


Can an interface extend another interface?

602


Why is serialization required?

548


What is int lol?

596


What is an eror in java?

561


How many bits is a boolean?

628