🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Exceptions and Files: all 15 questions

Quiz: Exceptions and Files · Question 9 of 15

Which mode adds to the end of an existing file?

Which mode adds to the end of an existing file?

  1. A."r"
  2. B."w"
  3. C."a"
  4. D."x"
Answer & explanation

Correct answer: "a"

Append mode keeps existing content.

Can you get the rest right without peeking?

Take the timed Quiz: Exceptions and Files quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →