πŸ“Š Ruby
Q. What is the purpose of the File.exist? method in Ruby?
  • (A) To check if the specified file is empty
  • (B) To check if the specified file is readable
  • (C) To check if the specified file is writable
  • (D) To check if the specified file exists
πŸ’¬ Discuss
βœ… Correct Answer: (D) To check if the specified file exists

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
129
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate