Vidyalelo
Java Programming · Q18

Flow Control

Programming · Java Programming · question 18

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board