What will be the output of the given code?
boolean_1 = !true
puts boolean_1
boolean_2 = !true && !true
puts boolean_2
boolean_1 = !true
puts boolean_1
boolean_2 = !true && !true
puts boolean_2A. True True
B. False False
C. True False
D. None of the mentioned
Answer: Option C
Related Questions on Operators in Ruby

Join The Discussion