1.

Which of these classes is used for input and output operation when working with bytes?(a) InputStream(b) Reader(c) Writer(d) All of the mentionedI have been asked this question during an interview.The query is from Byte Stream topic in chapter Console I/O Operations and Stream Classes of C#

Answer»

Correct CHOICE is (a) INPUTSTREAM

To explain I WOULD say: InputStream & OutputStream are designed for byte stream. READER and writer are designed for character stream.



Discussion

No Comment Found

Related InterviewSolutions