Vidyalelo
Ruby Programming · Q30

File Input Output in Ruby

Programming · Ruby Programming · question 30

Q30

What is the purpose of the chown method in Ruby file I/O?

A.
Changes the file attributes
B.
Changes the file timestamp
C.
Changes the file owner and group
Answer
D.
Changes the file permissions

Answer: Option C

Solution

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