Q. Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?

  • (A) If
  • (B) Switch
  • (C) Nested-if
  • (D) if-else-if
πŸ’¬ Discuss
βœ… Correct Answer: (B) Switch

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
208
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
86%
Success Rate