Which of these exceptions is thrown when the file specified for writing cannot…

PYQ RPSC Programmer 2024Modified — slightly modified from the official paper; see the solution

Which of these exceptions is thrown when the file specified for writing cannot be opened or created?

  1. A.

    FileOutputException

  2. B.

    FileException

  3. C.

    FileNotFoundException

  4. D.

    IOException

  5. E.

    Question not attempted

Attempted by 63 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…