Examveda
Examveda

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: Option D


This Question Belongs to Java Program >> Flow Control

Join The Discussion

Related Questions on Flow Control