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.

608<br />

handling of, 368<br />

data<br />

See also constants; fields; variables<br />

structures<br />

See arrays; classes; interfaces; primitive<br />

types; vectors<br />

types<br />

See types<br />

values<br />

See values<br />

database<br />

storing packages in, 153<br />

deadlock, 554<br />

avoidance, multiple lock use for, 396<br />

decimal<br />

See also numbers<br />

base, permitted in integer literals, 22<br />

numerals, specification, 22<br />

declarations<br />

See also body; execution; methods; parameters;<br />

statements<br />

class<br />

(chapter), 173<br />

body, 189<br />

member, 189<br />

term definition and specification, 173<br />

constructor, 240<br />

enum, 249<br />

field(s), 196<br />

constants in interfaces, 264<br />

examples of, 205<br />

interface, examples, 265<br />

identifiers in, kept separate from those in<br />

labeled statements, 116<br />

import<br />

example, 165<br />

single-type, 161<br />

term definition, 160<br />

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

instance variable, 69<br />

interface, 260<br />

(chapter), 259<br />

body, 263<br />

members, 263<br />

local variable, definite assignment, 539<br />

method(s), 209<br />

examples of, 230<br />

interface, abstract, 267<br />

modifiers<br />

See<br />

abstract modifier;<br />

final modifier;<br />

native modifier;<br />

private modifier;<br />

protected modifier;<br />

public modifier;<br />

static modifier;<br />

synchronized modifier;<br />

transient modifier;<br />

volatile modifier<br />

overriding, example, 230<br />

package, in compilation units, 157<br />

scope of, 117<br />

shadowed, term definition, 119<br />

shadowing, 119<br />

subclass, 184<br />

superclass, 184<br />

superinterface, 186, 261<br />

term definition, 114<br />

type<br />

as members of packages, 166<br />

need not appear before use of the type, 119<br />

usage in, 65<br />

variable<br />

array, 288<br />

local, 363<br />

execution of, 367<br />

declarator<br />

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

387<br />

default<br />

access, 224<br />

constructor, 247<br />

enum, 250<br />

keyword<br />

in annotation types, 274<br />

value<br />

for annotations, 274<br />

of a variable, 71<br />

of array component, 432<br />

variable(s), 67<br />

write synchronizes with, 561<br />

definite assignment<br />

See also exceptions; execution; scope<br />

(chapter), 527<br />

and anonymous classes, 548

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

Saved successfully!

Ooh no, something went wrong!