Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is the output of the given code?
boolean_1 = 77<78
puts(boolean_1)

What is the output of the given code?
boolean_1 = 77<78
puts(boolean_1)
a) Nil
b) True
c) False
d) Error

Answer: b
Explanation: As 77 is less than 78 hence the boolean value will be printed as true.

Join The Discussion