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
D. an enumeration constant.
A) A and B.
B) A and C.
C) B and C.
D) All.
Correct Answer:
Verified
Q4: Consider the following two Java code segments:
Q5: Which of the following statements about the
Q6: Which of the following statements about the
Q7: For the two code segments below:
Segment
Q8: Consider the code segment below.
if (gender
Q10: Which of the following statements about the
Q11: The control variable of a counter-controlled loop
Q12: Which of the following will count down
Q13: Which of the following will not help
Q14: Which of the following for-loop headers results
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