Oracle
1Z0-804 · Question #129
Given: What is the result?
The correct answer is A. 1 1 1 1 1. second for-loop increments each if condition is not given
Concurrency
Question
Given:
What is the result?
Exhibit
Options
- A1 1 1 1 1
- B1 2 3 4 5
- C0 1 2 3 4
- D0 1 4 3 4
How the community answered
(41 responses)- A73% (30)
- B7% (3)
- C17% (7)
- D2% (1)
Explanation
second for-loop increments each if condition is not given
Topics
#concurrency#shared state#thread safety#variable visibility
Community Discussion
No community discussion yet for this question.
