Q. What will be the output of the given code?
Code:
boolean_var = 15 < 16 && 15 < 15 puts boolean_var
β
Correct Answer: (B)
FALSE
Explanation: 15<16 is true but 15<15 is false hence the overall expression will evaluate to false.