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
What is exception hierarchy in java?
What is a final class ?
What is final, finally, finalize?
What is collection class in java?
What do you understand by abstract classes?
What is flush () in java?
Why javac is not recognized?
What is meant by vector class, dictionary class, hash table class, and property class?
Explain naming conventions for packages?
What is the full form of jpeg?
describe synchronization in respect to multithreading? : Java thread
Why there is no call by reference in java?
Is double bigger than float?
What is a parameter in java?
What is better - 'bit-shift a value' or 'multiply by 2'?