A

Admin • 833K Points
Coach

Q. Guess the operator : If Condition is true ? Then value X : Otherwise value Y?

  • (A) Range Operators
  • (B) Ternary Operator
  • (C) Parallel Operator
  • (D) Arithmetic operator
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category Ruby
  • Hashtags:

Explanation by: Admin

first evaluates an expression for a true or false value and then Ternary Operator executes one of the two given statements depending upon the result of the evaluation

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.