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
Can we have two main methods in a java class?
What is difference between ++ I and I ++ in java?
What is temp in java?
Does constructor return any value?
What are voids?
How does map works in java?
What is a JAR file?
Does treeset use compareto?
When do we need to use internal iteration? When do we need to use external iteration?
'A class is a template for an object' explain this statement.
Can you sort a list in java?
What are void pointers?
what is server side caching?
What is anagram of a string?
What do you mean by ternary operator in java?