Ruby MCQ set number 00173

1. Which of the following is valid conditional statement in Ruby? a) elseif b) elsif c) else if d) elseiff AnswerAnswer: b [Reason:] We use elsif conditional statement in Ruby. 2. The elsif conditional statement is written with an expression. a) True b) False AnswerAnswer: a [Reason:] The syntax of elsif conditional statement is elsif…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership