exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 143 discussion

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

Given the code fragment:

What is the result?

  • A. 3142
  • B. 2413
  • C. 1324
  • D. 4231
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Ericausdresden
6 months, 1 week ago
man i needed 7 minutes to this shit in my head haha...i had start over several times, so i guess i will move questions like that that to the end in the exam...
upvoted 1 times
...
iSnover
1 year, 3 months ago
Selected Answer: D
The answer is the letter D, you don't have to go far, both the initial value of the variable "i" and "j" receive the length -1 and the matrix is ​​2x2. As java indexes from 0 and length is 2, the first number to be printed is 4 which is in position [1][1] of the array and only the letter D has 4 as the first. Don't even waste time doing the rest, in the OCA test they put distractors just for you to spend more time on the question, and having additional time is like gold in this exam.
upvoted 4 times
...
shivkumarx
1 year, 4 months ago
Answer is D (tested)
upvoted 3 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