ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following is valid conditional statement in Ruby?
elseif
elsif
else if
elseiff
Correct Answer: B — elsif
We use elsif conditional statement in Ruby.