16.4. Definite Assignment and Array Initializers

V is [un]assigned after an empty array initializer (§10.6) iff V is [un]assigned before the empty array initializer.

V is [un]assigned after a non-empty array initializer iff V is [un]assigned after the last variable initializer in the array initializer.

V is [un]assigned before the first variable initializer of the array initializer iff V is [un]assigned before the array initializer.

V is [un]assigned before any other variable initializer e of the array initializer iff V is [un]assigned after the variable initializer to the left of e in the array initializer.

Get The Java® Language Specification, Java SE 7 Edition, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.