Examveda

What does the def keyword signify in Ruby?

A. Declares a method

B. Declares a class

C. Declares a variable

D. Declares a module

Answer: Option A


This Question Belongs to Ruby Programming >> Methods In Ruby

Join The Discussion

Related Questions on Methods in Ruby