Home / Report Question

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