Vidyalelo
Ruby Programming · Q14

Methods in Ruby

Programming · Ruby Programming · question 14

Q14

What does the def keyword signify in Ruby?

A.
Declares a method
Answer
B.
Declares a class
C.
Declares a variable
D.
Declares a module

Answer: Option A

Solution

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