Examveda

What does the term "memoization" refer to in Ruby?

A. Converting a method into a lambda function

B. Dynamically defining methods based on certain conditions

C. Caching the return value of a method for future invocations

D. Evaluating a block of code within the context of a specific object

Answer: Option C


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby