10.12.2012 Views

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

618<br />

See also control flow; linking<br />

of arrays<br />

in creation, to default value, 432, 69<br />

using array initializers, 290<br />

of classes, 316<br />

detailed procedure, 319<br />

of classes and interfaces, when it occurs,<br />

317<br />

complete<br />

term definition, 573<br />

detailed procedure, 319<br />

of fields<br />

in classes, 202<br />

in interfaces, 265<br />

of for statement, 384<br />

of interfaces, 316<br />

detailed procedure, 319<br />

of classes<br />

creating enum constants, 250<br />

for variables, array, 290<br />

initializers<br />

See also creation; execution<br />

array<br />

in array creation expression, 432<br />

arrays, 289<br />

executing, in Test class example initialization,<br />

311<br />

for fields, 410<br />

in class, 202<br />

in interface, 265<br />

instance<br />

See instance initializer<br />

enum<br />

constant must not refer to itself, 252<br />

FP-strict, 411<br />

instance variable, 246<br />

lacking in a blank final, 71<br />

local variable<br />

in scope of a local variable, 118, 385, 387<br />

static, 201, 239, 410<br />

binary compatibility considerations, 356<br />

static<br />

FP-strict, 411<br />

variable<br />

FP-strict, 411<br />

in scope of local variable, 118, 364<br />

for variables<br />

class, 201<br />

during class or interface initialization,<br />

201<br />

instance, 202<br />

during instance creation, 323<br />

inner class<br />

See also nested class<br />

anonymous class is always, 429<br />

of another class, 182<br />

direct, 182<br />

every local class is an, 361<br />

in a qualified class instance creation expression,<br />

425<br />

and qualified super method invocation, 472<br />

qualified superclass constructor invocation<br />

of, 244<br />

as superclass of an anonymous class, 427<br />

term definition, 181<br />

input<br />

See also files<br />

elements, term definition, 17<br />

Input goal symbol, lexical grammar use, 9<br />

tokens, 17<br />

instance initializer, 173<br />

allows field access through super, 438<br />

anonymous class, 430<br />

as components of a class body, 189<br />

containing a throw statement, 394<br />

definite assignment of variables before, 538<br />

enum<br />

must not reference non-constant static<br />

fields, 252<br />

execution during constructor invocation, 246<br />

is not a member, 191<br />

may not contain a return statement, 392<br />

must be able to complete normally, 239<br />

overview, 174<br />

term definition, 238<br />

and unreachable statements, 402<br />

when reachable, 403<br />

instance(s)<br />

See also classes; interfaces; object-oriented<br />

concepts<br />

creation, 45, 322<br />

constructor<br />

invocation by creation expressions, 240<br />

parameter assignment during, 322<br />

use in, 240<br />

expression evaluation, 423

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!