What will be the output of the given code?
boolean_1 = !(3 < 4 || false) && (false || true)
puts boolean_1
boolean_1 = !(3 < 4 || false) && (false || true)
puts boolean_1A. True
B. False
C. Error
D. None of the mentioned
Answer: Option B
Related Questions on Operators in Ruby

Join The Discussion