Multiple Choice
Which of the mode options opens a file for writing only, overwriting any existing text by placing the pointer at the beginning of the file.
A) w
B) w+
C) a
D) a+
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: Given a script named DispMsg.rb, if an
Q20: Ruby allows you to delete both files
Q21: The Dir class's size method returns a
Q22: One limitation within Ruby programming is the
Q23: If you attempt to delete a file
Q25: Which of the following File class methods
Q26: The File class also contains a method
Q27: Which of the following actions occur if
Q28: Which of the following is a special
Q29: Which of the following is the Ruby