Which among the following classes are used to perform the character based file operations?

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: a
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.
 

Tìm kiếm

Back
Top