A

Admin • 833K Points
Coach

Q. What is the use of else statement?

  • (A) When the if condition is false then the next else condition will get executed
  • (B) True
  • (C) When the if condition is false and if else condition is true then only it will get executed
  • (D) None of the mentioned
  • Correct Answer - Option(C)
  • Views: 28
  • 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.