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

Is vector synchronized in java?

541


What is use of static in java?

511


What is use of arraylist in java?

572


What is string length in java?

475


Why do we use return statement?

529






How do you remove spaces in java?

522


What is passed by reference and pass by value ?

571


what is the difference between the methods sleep() and wait()? : Java thread

499


Explain about transient variables in java?

630


What is appletviewer?

555


What methodology can be utilized to link to a database?

497


What are untrusted applets?

573


What environment variables do I need to set on my machine in order to be able to run java programs?

586


How can we make a class singleton?

566


Is string a wrapper class?

500