exam questions

Exam 1z0-808 All Questions

View all questions & answers for the 1z0-808 exam

Exam 1z0-808 topic 1 question 90 discussion

Actual exam question from Oracle's 1z0-808
Question #: 90
Topic #: 1
[All 1z0-808 Questions]

Which statement is true about the switch statement?

  • A. It must contain the default section.
  • B. The break statement, at the end of each case block, is mandatory.
  • C. Its case label literals can be changed at runtime.
  • D. Its expression must evaluate to a single value.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
http://www.dummies.com/programming/java/switch-statements-in-java/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Saftschnitzel
Highly Voted 3 years, 9 months ago
D is correct.
upvoted 9 times
...
kingprofessor
Highly Voted 3 years, 6 months ago
D is correct.
upvoted 5 times
...
DarGrin
Most Recent 3 months, 1 week ago
Selected Answer: D
D is correct
upvoted 1 times
...
Vicky_65
9 months, 2 weeks ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago