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.

A<br />

abrupt completion<br />

See completion, abrupt<br />

abstract modifier<br />

See also declarations; modifiers<br />

and super method invocation, 472<br />

classes<br />

anonymous are never, 429<br />

binary compatibility considerations, 340<br />

declaration of, 173<br />

definition and characteristics, 173<br />

direct superinterface relationship to, 184<br />

enum types must not be, 176, 250<br />

methods<br />

binary compatibility considerations, 352<br />

classes, 215<br />

declaration examples, 209, 266<br />

interfaces, 267<br />

overloading, 268, 269<br />

overriding, 269<br />

semicolon as body of, 223<br />

and super method invocation, 472<br />

access<br />

See also scope<br />

accessibility<br />

determining, 138<br />

term definition, 138<br />

array, 289<br />

expression evaluation order, 483<br />

conflicting, 563<br />

constructor, binary compatibility considerations,<br />

344<br />

of fields, expression evaluation, 435<br />

inheritance of class members, example<br />

default, 192<br />

Index<br />

private, 193<br />

protected, 193<br />

public, 193<br />

interface member names, 263<br />

method, binary compatibility considerations,<br />

350<br />

non-public class instances, through public<br />

superclasses and superinterfaces,<br />

194<br />

overridden methods, using super keyword,<br />

225<br />

qualified<br />

See also field access expressions; method<br />

invocation expressions<br />

term definition, 138<br />

access control<br />

See also security<br />

classes, example, 141<br />

constructors<br />

default, example, 142<br />

private, example, 144<br />

protected, example, 143<br />

public, example, 143<br />

fields<br />

default, example, 142<br />

private, example, 144<br />

protected, example, 143<br />

public, example, 143<br />

methods<br />

default, example, 142<br />

DRAFT<br />

private, example, 144<br />

protected, example, 143<br />

public, example, 143<br />

package names, limited significance of, 154<br />

protected, details of, 139<br />

and qualified names, 138<br />

597

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

Saved successfully!

Ooh no, something went wrong!