Q5
What is the purpose of the "switch" statement in Java?
A.
To define methods
B.
To create loops
C.
To perform different actions based on the value of an expression
AnswerD.
To declare variables
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board