1.

Which of these class is used to read and write bytes in a file?(a) FileReader(b) FileWriter(c) FileInputStream(d) InputStreamReaderI got this question during an interview.I'm obligated to ask this question of Java.io Byte Streams in section Exploring java.lang & java.io of Java

Answer»

The correct ANSWER is (c) FileInputStream

For EXPLANATION I would SAY: NONE.



Discussion

No Comment Found

Related InterviewSolutions