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 catch more than one exception in a single catch block?
What is the use of isempty in java?
Can a source file contain more than one class declaration?
Is class is a data type?
Convert Binary tree to linked list.
How can you read content from file in java?
What are the differences between checked exception and unchecked exception?
Is string thread safe in java?
What are data structures in java?
Which is better 64 bit or 32 bit?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
How to retrieve data from database in java using arraylist?
what is function overloading in java?
What do you understand by casting in java language?
What is functional interface in java example?