What is the difference between Stream Reader and Stream Writer?
Answer Posted / aravindhan
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.
Similarly StreamWriter in for writing into the standard file
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Why is the type for real numbers called double?
What is the default size of load factor in hashing based collection?
Is string a datatype?
How do you avoid global variables?
How do you start a new line in java?
What is meant by collection in java?
What do you understand by an io stream?
How do you replace a string in java?
What does %4d mean in java?
What is Gang of four design patterns
Can you access non static variable in static context?
Where pragma is used?
Which is bigger float or double?
What is the purpose of finalization in java programming?
What is passed by reference and pass by value ?