O'Reilly logo

The Java® Language Specification, Java SE 7 Edition, Fourth Edition by Alex Buckley, Gilad Bracha, Guy Steele, Bill Joy, James Gosling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required