V

Vinay Kumar • 8.55K Points
Tutor III

Q. What will be the output of the given code?

Code:
while a&&b
puts a
end
  • (A) TRUE
  • (B) FALSE
  • (C) Syntax Error
  • (D) Name Error
  • Correct Answer - Option(D)
  • Views: 103
  • Filed under category Ruby

Explanation by: Vinay Kumar
undefined local variable or method

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics