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.

612<br />

run-time testing, 412<br />

hierarchy, 306<br />

NegativeArraySizeException, 413, 432<br />

never thrown for<br />

assignment conversions, 95<br />

information loss due to narrowing primitive<br />

conversions, 84<br />

information loss sue to widening primitive<br />

conversions, 81<br />

widening reference conversions, 85<br />

NullPointerException, 245<br />

parameters<br />

See also variables<br />

declaration, 397<br />

description, 70<br />

initial value, 72<br />

scope, 118, 397<br />

precise, 303<br />

RuntimeException, 515<br />

synchronization integrated with mechanism<br />

for handling, 298<br />

thrown for, narrowing reference conversions,<br />

85<br />

uncaughtException method, when invoked<br />

, 298<br />

unchecked, 306<br />

unchecked runtime<br />

ArithmeticException, 416, 495<br />

ArrayIndexOutOfBoundsException,<br />

514, 519<br />

ArrayStoreException, 295, 413, 514,<br />

518<br />

ClassCastException, 412, 491, 514<br />

casting conversion requirements that<br />

can result in, 105<br />

IndexOutOfBoundsException, 290, 413,<br />

483<br />

NullPointerException, 291, 302, 413,<br />

476, 479, 483, 484, 513, 514, 519<br />

RuntimeException, 306, 515<br />

execution<br />

See also declarations; evaluation; initialization;<br />

linking; loading<br />

(chapter), 309<br />

of statements for their effect, 359<br />

execution(s)<br />

described by a tuple, 567<br />

happens-before edges in, 562<br />

legal, 562<br />

non-terminating, 560<br />

order, 560<br />

well formed, 568<br />

exit<br />

virtual machine, criteria for, 331<br />

exponent<br />

See value set<br />

expressions<br />

See also fields; methods; statements<br />

(chapter), 409<br />

abrupt completion of, as reason for abrupt<br />

statement completion, 361<br />

additive operators<br />

evaluation, 496<br />

for numeric types, evaluation, 500<br />

array<br />

access, evaluation, 482<br />

assignment, evaluation, 513, 519<br />

creation, evaluation of, 431<br />

assignment<br />

conversion, 93<br />

definite assignment, 527, 533<br />

operators, evaluation, 512<br />

as statements, 371<br />

bitwise<br />

binary operators, evaluation, 508<br />

complement, evaluation, 490<br />

boolean<br />

operators<br />

!, definite assignment, 534<br />

&&, definite assignment, 533<br />

?, definite assignment, 534<br />

||, definite assignment, 534<br />

assignment, definite assignment, 535<br />

constant, definite assignment, 533<br />

equality, evaluation, 507<br />

logical, evaluation, 508<br />

cast, evaluation, 490<br />

compound, assignment operators, evaluation,<br />

518<br />

conditional<br />

and operator &&, evaluation, 509<br />

operator ? :<br />

definite assignment, 535<br />

evaluation, 510<br />

or operator ||, evaluation, 509<br />

definite assignment and, 533

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

Saved successfully!

Ooh no, something went wrong!