MCQ
What can be accepted as a constructor of a FileOutputStream?
  • A
    A string containing the path to the file location
  • B
    Object of the File class
  • a Or b
  • D
    None of these

Answer

Correct option: C.
a Or b
a Or b

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