πŸ“Š Ruby
Q. What does File.open() return in Ruby when the file is successfully opened?
  • (A) Integer representing file descriptor
  • (B) Array of file contents
  • (C) Boolean value
  • (D) File object
πŸ’¬ Discuss
βœ… Correct Answer: (D) File object

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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