exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 2 discussion

Actual exam question from Oracle's 1z0-808
Question #: 2
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 optional.
  • C. Its case label literals can be changed at runtime.
  • D. Its expression must evaluate to a collection of values.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
joeMP
3 months, 1 week ago
Answer - B
upvoted 1 times
...
arjunrawatirissoftware
1 year, 3 months ago
Answer - B
upvoted 1 times
...
gg7495
1 year, 3 months ago
Answer is B as 1) The Default statement is optional in Switch. 2) Case label literals must be final constant values
upvoted 1 times
...
Ondo
1 year, 4 months ago
Réponse B
upvoted 1 times
...
Sezam
1 year, 4 months ago
Selected Answer: B
Answer is B
upvoted 1 times
...
NabilBenAsker
1 year, 6 months ago
Answer is B the break and default are optional
upvoted 1 times
...
felipegomeztreufo
1 year, 7 months ago
answer B
upvoted 1 times
...
Vicky_65
1 year, 9 months ago
Selected Answer: B
Because break statement at the end of the case statements is optional
upvoted 1 times
...
masloa
1 year, 9 months ago
Selected Answer: B
answer is B
upvoted 1 times
...
Def8
2 years, 2 months ago
Selected Answer: B
Ofcourse it is B
upvoted 1 times
...
iSnover
2 years, 3 months ago
Selected Answer: B
The answer is the letter B, nothing to say.
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