InterviewSolution
Saved Bookmarks
| 1. |
Which among the following classes are used to perform the character based file operations?(a) StreamReader(b) InputReaderWriter(c) OutputStream(d) All of the mentioned |
|
Answer» The correct option is (a) StreamReader For explanation: In general, to perform character-based file operations, wrap a FileStream inside a StreamReader or a StreamWriter. These classes automatically convert a byte stream into a character stream, and vice versa. |
|