If we look carefully, the code starts from 1, where the name of the class should be.... We could think that the first two loops are included in the initializer ... it seems strange that it starts without the name of the class at line 1. In this case, the correct answer could be loop starting line 3... It's so confusing...
The reason for this is that the loop variable used in the condition of the for loop is not in scope, as it was declared within the block starting at line 1 and ending at line 10. The correct variable to use in the condition of the for loop would be loop2, which is declared in the initialization section of the for loop.
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.1z0-819 Exam Questions
Log in to ExamTopics
Sign in:
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.
d7bb0b2
12 months agoSamps
1 year agoDenyaar
1 year agoDenyaar
1 year agoRoxyFoxy
1 year, 2 months agoStavok
1 year, 7 months agoStavok
1 year, 5 months ago