What is the difference between Stream Reader and Stream Writer?
Answer Posted / sharat
StreamReader is designed for character input in a particular
encoding, whereas the Stream class is designed for byte
input and output. Use StreamReader for reading lines of
information from a standard text file.
StreamWriter is designed for character output in a
particular Encoding, whereas classes derived from Stream are
designed for byte input and output.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Is there a sort function in java?
Can we define package statement after import statement in java?
How many types of assembly languages are there?
What is the relationship between clipping and repainting under awt?
Is set thread safe java?
How can you handle java exceptions?
What is the use of join method?
What is t type java?
What is the use of singleton class?
What is an example of a conditional statement?
Can we sort hashmap in java?
Is java a pure object oriented language?
Define an applet in java?
Which data type is a class in java?
what is abstract class in Java?