Vidyalelo
Ruby Programming · Q21

File Input Output in Ruby

Programming · Ruby Programming · question 21

Q21

How do you check the size of a file in Ruby?

A.
Using File.bytes method
B.
Using File.size method
Answer
C.
Using File.sizeof method
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board