Vidyalelo
Ruby Programming · Q19

Methods in Ruby

Programming · Ruby Programming · question 19

Q19

What is the result of calling a method in Ruby without parentheses?

A.
Error
B.
Returns nil
C.
Returns the method itself
D.
Executes the method
Answer

Answer: Option D

Solution

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