A

Admin • 833K Points
Coach

Q. 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
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category Ruby
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.