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 the difference between an interface and an abstract class?

542


How do you compare objects in java?

503


How is java created?

536


Which package has light weight components?

566


What is math exp in java?

548






What is size () in java?

552


Explain importance of throws keyword in java?

565


Which is bigger double or float?

532


How do you download stubs from Remote place?

1359


What are implicit objects in java?

553


Explain enumeration in java?

569


Explain about method local inner classes or local inner classes in java?

574


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

556


What types of index data structures can you have in java?

614


What are byte codes?

659