nerdexam
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

1Z0-804 question #129 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)
  • A
    73% (30)
  • B
    7% (3)
  • C
    17% (7)
  • D
    2% (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.

Full 1Z0-804 Practice