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
Explain the transient field modifier?
Explain what access modifiers can be used for methods?
What is a method declaration?
What is the difference between error and an exception?
What is considered an anti pattern?
What is anagram in java?
Why javac is not recognized?
When will you define a method as static?
What are the parts of methodology?
Why constructor has no return type?
What are the ways in which a thread can enter the waiting state?
Can we override the private methods?
What is string args [] in java?
Why are constructors used?
What is struts in java?