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.

620<br />

binary compatibility considerations, 357<br />

declarations, 263<br />

inheritance from superinterfaces, 124,<br />

263<br />

names, access to, 263<br />

methods<br />

declarations, examples, 269<br />

overloading, 268<br />

example, 269<br />

overriding, 267<br />

example, 269<br />

names<br />

fully qualified, 145<br />

naming conventions, 146<br />

normal, 113, 259<br />

preparation of, 315<br />

public<br />

binary compatibility considerations, 356<br />

declaration, 260<br />

references to, binary file format requirements<br />

, 338<br />

in scope of imported type, 117, 161<br />

Serializable, implemented by arrays, 292<br />

superinterfaces<br />

binary compatibility considerations, 341<br />

of a class, 186<br />

declaration of, 186<br />

direct, 262<br />

that depend on themselves, 262<br />

unloading of, 330<br />

interruption<br />

of threads, 582<br />

intersection types<br />

See types, intersection<br />

invocation<br />

alternate constructor, 244<br />

constructor<br />

determining arguments to, 427<br />

expression evaluation, 428<br />

expression evaluation, order, 430<br />

language constructs that result in, 240<br />

generic, 184<br />

of hidden class methods, example, 234<br />

method<br />

conversion, 99<br />

expression evaluation, 440<br />

order, 473<br />

how chosen, 411<br />

of a generic interface, 189<br />

superclass constructor, 244<br />

iteration<br />

See also control structures<br />

continue statement, specification, 390<br />

do statement, specification, 382<br />

for statement, specification, 384<br />

while statement, specification, 380<br />

J<br />

<strong>Java</strong><br />

digits, term definition, 19<br />

.java suffix, as name for source files, 156<br />

java package is always in scope, 160<br />

java.lang<br />

example, 155<br />

may be named in a type-import-on-demand,<br />

163<br />

public type names automatically imported<br />

from, 153, 158<br />

java.lang package<br />

public type names automatically imported<br />

from, 165<br />

public types defined in, list of, 165<br />

letters, term definition, 19<br />

<strong>Java</strong> programming language<br />

See also grammars; languages; lexical;<br />

semantics; syntax<br />

java.io.Serializable interface, 85, 98<br />

and array subtyping, 64<br />

java.lang.ref, 328<br />

K<br />

Keene, Sonya E., 6<br />

Kelvin, Lord (William Thompson), 409<br />

Kernighan, Brian W., 7<br />

keywords<br />

default<br />

in annotation types, 274<br />

list of, 21<br />

as token, 10<br />

Kiczales, Gregor, 6

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

Saved successfully!

Ooh no, something went wrong!