Which of the following actions occur if you attempt to delete a file or folder that does not exist?
A) Ruby ignores the error and allows the program to continue
B) Ruby deletes any files found in the current working directory
C) An error is generated and program execution terminates
D) None of the above
Correct Answer:
Verified
Q39: Which of the following File class methods
Q40: Which of the following Dir class methods
Q41: Which of the following File class methods
Q42: Which of the mode options opens a
Q43: A reference can be set up for
Q44: What type of variable is the RUBY_PLATFORM
Q45: Which of the following best describes a
Q46: Which of the following methods can be
Q47: Which of the following is a special
Q48: Which of the mode options opens a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents