exam questions

Exam 1z0-819 All Questions

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

Exam 1z0-819 topic 1 question 172 discussion

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

Given:



What is the result?

  • A. -6
  • B. -0-1-3-6
  • C. The compilation fails due to an error in line 1.
  • D. -0-1-3
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
6 months, 4 weeks ago
Selected Answer: A
Is a tricky anwer, so ; only avance the for and set sum to 6 when finish print that number
upvoted 1 times
...
d7bb0b2
7 months, 3 weeks ago
A=> for has ; no execute sout
upvoted 1 times
...
Ashan_Ozlov
10 months ago
Selected Answer: A
TESTED
upvoted 1 times
...
[Removed]
11 months, 1 week ago
Selected Answer: A
Confirmed A
upvoted 1 times
...
Stavok
1 year ago
Selected Answer: A
A is correct TESTED
upvoted 1 times
...
belal97
1 year ago
Selected Answer: A
for end in line 1 no body ( ; ) print statmint execute just one time
upvoted 2 times
...
KiraguJohn
1 year ago
Its A Sorry I noticed for loop does not have a body and it ends with a semi-colon.
upvoted 1 times
...
KiraguJohn
1 year ago
D Tested
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