MCQ
Which of the following statements is true for File Output Stream class?
  • A
    It is a subclass of Output Stream.
  • B
    It is used to write bytes to the file or some output stream.
  • C
    To use this class and its methods, first we need to create a file object, then we could use the write method derived from the abstract class Output Stream to write byte into a file.
  • All of these

Answer

Correct option: D.
All of these
All of these

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free