Vidyalelo
Ruby Programming · Q36

Data Types and Variables in Ruby

Programming · Ruby Programming · question 36

Q36

What does the 'return' keyword do in Ruby methods?

A.
Exits the method with a value
Answer
B.
Prints to console
C.
Converts to integer
D.
Continues the loop

Answer: Option A

Solution

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