Vidyalelo
Ruby Programming · Q74

Advanced Topics in Ruby

Programming · Ruby Programming · question 74

Q74

What is the purpose of the Kernel#autoload method in Ruby?

A.
It automatically loads a specified file when a constant is accessed for the first time
Answer
B.
It loads all files in a directory when the program starts
C.
It reloads a file every time it is accessed
D.
It loads a file asynchronously to improve performance

Answer: Option A

Solution

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