English

Which method takes string as an argument and writes it to the text file? -

Advertisements
Advertisements

Question

Which method takes string as an argument and writes it to the text file?

Options

  • close()

  • write()

  • read()

  • append()

MCQ

Solution

write()

shaalaa.com
Writing to a Text File
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×