πŸ“Š Ruby
Q. What is the purpose of the case statement in Ruby?
  • (A) To define a class
  • (B) To handle multiple conditions with one expression
  • (C) To declare a variable
  • (D) To perform mathematical calculations
πŸ’¬ Discuss
βœ… Correct Answer: (B) To handle multiple conditions with one expression

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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