Vidyalelo
Ruby Programming · Q12

Basic Syntax in Ruby

Programming · Ruby Programming · question 12

Q12

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

A.
class
Answer
B.
define
C.
cls
D.
defclass

Answer: Option A

Solution

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