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
What is unicode in java?
What is a lambda expression ? What's its use ?
What is meant by collection in java?
What is difference between final and immutable?
Why hashmap is used in java?
What is predicate in java?
What is the difference between abstraction and encapsulation?
Can a static method be overridden in java?
Explain notifyall() method of object class ?
What are the different data types in java?
Does substring start with 0?
What is the purpose of using java.lang.class class?
What is meant by data hiding/encapsulation?
What is the difference between access specifiers and access modifiers in java? 16
What do you understand by looping in java? Explain the different types of loops.