exam questions

Exam 1z0-819 All Questions

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

Exam 1z0-819 topic 1 question 2 discussion

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

Given:

What is the result?

  • A. 5 4 3 2 1
  • B. 5
  • C. nothing
  • D. 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1
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
d7bb0b2
7 months ago
D is correct
upvoted 1 times
...
kvarpe
9 months ago
Correct Ans is A
upvoted 1 times
...
james2033
9 months, 2 weeks ago
Selected Answer: D
public class Question2 { public static void main(String[] args) { int i = 10; do { for (int j = i / 2; j > 0; j--) { System.out.print(j + " "); } i -= 2; } while (i > 0); } } Resutl: 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 . --> Choose D.
upvoted 3 times
...
curiouss
11 months ago
Selected Answer: D
✅ D https://onecompiler.com/java/3zkx2jqfm
upvoted 1 times
...
curiouss
11 months ago
✅ D https://onecompiler.com/java/3zkx2jqfm
upvoted 1 times
...
qulyt
12 months ago
Selected Answer: D
Look for all prints below: i = 10 j = 5 print 5 4 3 2 1 i = 8 j = 4 print 4 3 2 1 i = 6 j = 3 print 3 2 1 i = 4 j = 2 print 2 1 i = 2 j = 1 print 1
upvoted 1 times
...
Lebannin
1 year ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
muzire
1 year ago
D is the answer
upvoted 1 times
...
Mtandwa
1 year, 1 month ago
Selected Answer: D
Answer is D
upvoted 1 times
...
Stavok
1 year, 2 months ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
tyfah
1 year, 2 months ago
D is the correct answer
upvoted 1 times
...
bharathdave
1 year, 3 months ago
D is correct
upvoted 1 times
...
Arvind_Kumar_Avinash
1 year, 3 months ago
Correct answer: D
upvoted 1 times
...
kavithaprasanth
1 year, 4 months ago
D is correct
upvoted 1 times
...
AnotherJavaGuy
1 year, 5 months ago
D is Correct
upvoted 1 times
...
Guru_01
1 year, 5 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
Ankit1010
1 year, 6 months ago
D is correct
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