Home / MCQ Bank / Computer
Computer Control Structures In Ruby

What is the output of the given code? print "2 is less than 3" unless 2>3

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • 2 is less than 3

Related Computer Questions

What is a constructor in Java? What is the importance of mutable keyword? Which of the following belongs to the set of character types? With an IP address starting at 200, you currently have 10 subnets. What subnet mask should you use to maximize the number of available hosts? Which of the following access modifiers restricts a method or variable's access to the same package only?