Examveda

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

Answer: Option D


This Question Belongs to Ruby Programming >> File Input Output In Ruby

Join The Discussion

Related Questions on File Input Output in Ruby