exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 48 discussion

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

Given the code fragment:

What is the result?

  • A. A B C
  • B. A B C D E
  • C. A B D E
  • D. Compilation fails.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
xreiazetai8arros
1 month, 4 weeks ago
Tested C
upvoted 1 times
...
Vicky_65
3 months, 1 week ago
Selected Answer: C
c is correct
upvoted 1 times
...
Ankit1010
5 months ago
C is correct answer
upvoted 1 times
...
odzio33
5 months, 4 weeks ago
Selected Answer: C
public static void main(String[] args) { String[][] arr = {{"A", "B", "C"},{"D", "E"}}; for(int i = 0; i < arr.length; i++){ for (int j = 0; j<arr[i].length; j++){ System.out.print(arr[i][j] + " "); if(arr[i][j].equals("B")){ break; } } continue; } } A B D E
upvoted 2 times
...
kkaayyyy
9 months, 1 week ago
A B D E is the correct answer
upvoted 1 times
...
iSnover
9 months, 3 weeks ago
Selected Answer: C
The correct Answer is C, I turn the code
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