1.

What error does the if condition gives if not terminated with end statement?(a) Syntax error(b) Unexpected end(c) Expecting keyword end(d) All of the mentionedThis question was posed to me in my homework.I'm obligated to ask this question of The If Conditional Statement topic in chapter Conditional Statements of Ruby

Answer»

Correct ANSWER is (d) All of the mentioned

Easy explanation: We will GET all the THREE errors.



Discussion

No Comment Found

Related InterviewSolutions