Vidyalelo
Ruby Programming · Q4

Basic Syntax in Ruby

Programming · Ruby Programming · question 4

Q4

In Ruby, what is the keyword used to define a method?

A.
function
B.
define
C.
method
D.
def
Answer

Answer: Option D

Solution

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