Examveda

What will be the output of the given code?
 boolean_1 = !true
puts boolean_1  
boolean_2 = !true && !true
puts boolean_2

A. True True

B. False False

C. True False

D. None of the mentioned

Answer: Option C


This Question Belongs to Ruby Programming >> Operators In Ruby

Join The Discussion

Related Questions on Operators in Ruby