Examveda

What is the output of the given code?
unless true && false
print "false"
else 
    print "ruby"
end

A. True

B. False

C. Nil

D. Syntax error

Answer: Option B


This Question Belongs to Ruby Programming >> Control Structures In Ruby

Join The Discussion

Related Questions on Control Structures in Ruby