Home / Programming MCQs / Ruby MCQs / Question

Q. What is true about Until loop?

(A) Executes code while conditional is true
(B) In until loop increment is not required
(C) Executes code while conditional is false
(D) None of the above

Explanation:

Executes code while conditional is false. An until statement`s conditional is separated from code by the reserved word do, a newline, or a semicolon.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.