Examveda

In Ruby, what does the `elsif` keyword allow you to do?

A. Add a new class to a module

B. Define an instance method within a class

C. Add an else-if condition to an if statement

D. Create a new variable

Answer: Option C


This Question Belongs to Ruby Programming >> Control Structures In Ruby

Join The Discussion

Related Questions on Control Structures in Ruby