Home / MCQ Bank / Computer
Computer File Input Output In Ruby

Which method is used to delete a file in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • File.delete("filename")

Related Computer Questions

What will be the output of the following C++ code? #include <iostream> #include <algorithm> #include <vector> using namespace std; int main () { int myints[]={ 10, 20, 30, 40, 50 }; vector<int> myvector (4, 99); iter_swap(myints, myvector.begin()); iter_swap(myints + 3,myvector.begin() + 2); for (vector<int> :: iterator it = myvector.begin(); it != myvector.end(); ++it) cout << ' ' << *it; return 0; } For getting an input from the user which method is used? The ______ function returns no value. Which of the following statements is true about Minicomputer and Microcomputer? Which of the following will be used to compose the content of the presentation?