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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

identity<br />

conversion<br />

in assignment conversion context, 93<br />

in casting conversion context, 101<br />

in method invocation conversion context,<br />

99<br />

specification, 80<br />

IEEE 754 standard, 7<br />

See also numbers<br />

floating-point<br />

conversion of numbers to, 25<br />

types conformance to, 37<br />

if statements<br />

See also statements<br />

dangling else, handling of, 369<br />

definite assignment, 541<br />

if-then statement, specification, 372<br />

if-then-else statement, specification, 372<br />

specification, 372<br />

Igarashi, Atsushi, 54, 55, 92<br />

implement<br />

See also classes; extends clause; interfaces<br />

implements clause, 261<br />

class declaration, specifying direct superinterfaces<br />

with, 186<br />

term definition, 124, 187<br />

implicit<br />

cast(s), 412<br />

import<br />

See also packages; scope<br />

automatic, 165<br />

declarations<br />

example, 165<br />

single-type, 161<br />

term definition, 160<br />

type-import-on-demand, 163<br />

imported types<br />

as declared entity, 114<br />

scope of, 117<br />

as part of a compilation unit, 157<br />

single-static<br />

and shadowing, 120, 164<br />

single-type<br />

may not declare top-level type in same<br />

compilation unit, 168<br />

names in, 130<br />

scope, 117, 161<br />

and shadowing, 119, 161<br />

static<br />

on-demand, 127, 137, 161, 444<br />

and shadowing, 120, 165<br />

names, 130<br />

single, 127, 130, 137, 160, 444<br />

scope, 117, 161<br />

static-import-on-demand<br />

scope, 117, 161<br />

type-import-on-demand, 129<br />

scope, 117, 161<br />

and shadowing, 120, 163<br />

type-on-demand, 160<br />

names in, 130<br />

indexing<br />

of arrays, 289<br />

inexact results<br />

See also numbers<br />

rounding behavior, 41<br />

infinity<br />

See also numbers<br />

representation of, 26<br />

signed, produced by floating-point overflow,<br />

41<br />

inheritance<br />

See also object-oriented concepts; scope<br />

in class<br />

examples of, 192<br />

of members, 190<br />

of members, with public, protected,<br />

and private access, examples, 193<br />

with default access, example, 192<br />

of fields<br />

in class declarations<br />

multiply inherited from interfaces,<br />

example of, 207<br />

reinheritance of, example of, 209<br />

in interface declarations<br />

ambiguous inherited, example, 265<br />

multiply inherited, example, 266<br />

of members, 123<br />

of methods<br />

in class declarations, 224<br />

in interface declarations, 267<br />

multiple<br />

See also superinterfaces<br />

example, 188<br />

term definition, 123<br />

initialization<br />

617

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

Saved successfully!

Ooh no, something went wrong!