Solved

Which of the Following Can Be Used in a Switch

Question 14

Multiple Choice

Which of the following can be used in a switch statement in the expression after keyword case? a) a constant integral expression.
b) a character constant.
c) a string (but only in Java SE 7) .
d) an enumeration constant.


A) A and B.
B) A and C.
C) B and C.
D) All.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions