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
What is string [] args?
Describe the various concepts related to object oriented programming (oop).
How does finally block differ from finalize() method?
Which types of exceptions are caught at compile time?
What are the differences between heap and stack memory?
Can we declare array without size in java?
What is flush buffer?
How to retrieve data from database in java using arraylist?
What is garbage collector?
What is boolean query?
What is singleton class in java and how can we make a class singleton?
Why we override equals() method?
What is callable java?
What is difference between fail-fast and fail-safe?
Can a final variable be initialized in constructor?