Q18
In Java, what does the "switch" statement evaluate to determine which case to execute?
A.
A boolean expression
B.
A string value
C.
A floating-point number
D.
An expression of integral or enumerated type
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board