Examveda

What is the purpose of the File.size method in Ruby?

A. To determine the number of characters in a file

B. To determine the last modification time of a file

C. To determine the size of a file in bytes

D. To determine the number of lines in a file

Answer: Option C


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

Join The Discussion

Related Questions on File Input Output in Ruby