πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) When the if condition is false and if else condition is true then only it will get executed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
113
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate