Vidyalelo
Ruby Programming · Q9

File Input Output in Ruby

Programming · Ruby Programming · question 9

Q9

What does the File.exist? method in Ruby return if the specified file exists?

A.
1
B.
TRUE
Answer
C.
0
D.
Error

Answer: Option B

Solution

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