aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • ASP Programming
  • ________ method of TextStream object is used to write the...
Multiple choice

________ method of TextStream object is used to write the given string to a text file and adds a newline character.

  1. Write(<string>)

  2. WriteLine(<string>)

  3. WriteBlankLine(<number of lines>)

  4. Close

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

 This method of TextStream object is used to write the given string to a text file and adds a newline character.

Keep practicing — related questions

  • Which of the following methods of TextStream method reads the specified number of characters from the text ...
  • ________ is used to write a string to a file.
  • The ______________ stream class in Java is supposed to be used to write a byte array into the memory.
  • The_________ method concatenates the string representation of any other type of data to the end of the invo...
  • The ____________ method of Process class is used to return an output stream that writes output to the 'in' ...
  • Which of the following procedure inserts terminating character when writing to a text file?
  • Which of the following methods is the one in java that reads data from a stream until it gets two consecuti...
  • Which of the following methods is/are defined in the OutputStream class?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Languages and Compilers (2284 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy