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:
Verified
Q1: Which of the following is equivalent to
Q3: Which formatting flag indicates that the floating-point
Q4: Consider the classes below: public class TestA
{
Public
Q4: Consider the following two Java code segments:
Q8: For the two code segments below: Segment
Q9: Suppose variable gender is MALE and age
Q10: For the code segment below: switch( q
Q12: Which of the following will count down
Q16: The control variable of a counter-controlled loop
Q18: Which of the following statements about a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents