Contents | Prev | Next | Index | Java Language Specification Second Edition |
abstract
modifier
super
method invocation, 355
private
, 151
protected
, 150
public
, 150
public
class instances, through public
superclasses and superinterfaces, 151
super
keyword, 178
private
, example, 111
protected
, example, 110
public
, example, 109
private
, example, 111
protected
, example, 110
public
, example, 109
private
, example, 111
protected
, example, 110
public
, example, 109
protected
, details of, 105
protected
accessibility of superclass constructor, 106
ArithmeticException
, 321
Class
Cloneable
interface implemented by, 214
ArrayStoreException
, 217
Object
as superclass of, 215
\
)
[]
)
break
statement
byte
type
CR
)
boolean
, 41
void
, not permitted, 287
catch
clause, 303
try
statement
char
type, 31
abstract
, 137
abstract
methods in, 170
.class
suffix, as name for compiled files, 122
Class
objects, associated with arrays, 215
ClassCastException
, 75
Error
, 221, 226
Exception
, 226
RuntimeException
, 222, 226
Throwable
, 219, 221, 226
final
ClassCircularityError
, 233
ClassFormatError
, 233
NoClassDefFoundError
, 233
static
, 172
static
, 171
public
, in example of qualified names and access control, 107
public
IllegalAccessError
, 235
IncompatibleClassChangeError
, 235
InstantiationError
, 235
NoSuchFieldError
, 236
NoSuchMethodError
, 236
if
statement reachability handling to support, 314
import java.lang.*
, 128
break
statement, 297
continue
statement, 299
for
statement, 295
return
statement, 301
synchronized
statement, 304
throw
statement, 302
try
statement, 305
try-catch
statement, 307
try-catch-finally
statement, 308
final
; fields, interface; literals
final
private
, example, 111
protected
, example, 110
public
, example, 109
this
keyword use for, 283
final
, 168
private
, preventing instantiation with, 139, 197
protected
, accessibility of, 105, 106
throws
clause, binary compatibility considerations, 270
continue
statement
boolean
expressions use for, 40
break
statement, specification, 297
continue
statement, specification, 299
do
statement, specification, 293
for
statement, specification, 295
if
statement, dangling else
handling, 284
if-then
statement, specification, 288
if-then-else
statement, specification, 288
switch
statement, 49
return
statement, specification, 301
switch
statement, specification, 288
synchronized
statement, specification, 304
throw
statement, specification, 302
try
statement, specification, 305
try-catch
statement, specification, 307
try-catch-finally
statement, specification, 308
while
statement, specification, 292
else
import
abstract
, 205
abstract
modifier; final
modifier; native
modifier; private
modifier; protected
modifier; public
modifier; static
modifier; synchronized
modifier; transient
modifier; volatile
modifier
ArithmeticException
, 34, 375
do
statement
double
type
Error
class, unchecked exceptions as subclass of, 176
private
, 111
protected
, 110
public
, 109
public
and non-public
, 107
public
, protected
, and private
access, 150
private
access, 151
protected
access, 150
public
access, 150
abstract
declarations, 207
private
, 111
protected
, 110
public
, 109
throws
, 186
throws
clause in method declarations, 175
Exception
, 226
throws
clause in method declarations, 175
UnsatisfiedLinkException
, 236
Error
, 221
Exception
, 226
RuntimeException
, 222
Throwable
, 219, 221
AbstractMethodError
, 268
ClassCircularityError
, 144, 258
ClassFormatError
, meaning, 233
Error
, 226
ExceptionInInitializerError
, 241, 304
IllegalAccessError
, 258, 272, 358
IncompatibleClassChangeError
, 264, 269, 272, 357
InstantiationError
, meaning, 235
LinkageError
, 233, 234
NoClassDefFoundError
, 240
NoSuchFieldError
, 264
NoSuchMethodError
, 267, 273, 357
OutOfMemoryError
, 176, 233, 241, 242, 321, 334, 338, 340, 360
UnsatisifedLinkError
VerifyError
, 269, 272
VirtualMachineError
, 227
try
statements, 306
NegativeArraySizeException
, 321, 338
NullPointerException
, 194
RuntimeException
, 395
uncaughtException
method, when invoked, 220
ArithmeticException
, 324, 376
ArrayIndexOutOfBoundsException
, 394, 399
ArrayStoreException
, 217, 320, 395, 398
ClassCastException
, 320, 372, 395
IndexOutOfBoundsException
, 212, 321, 364
NullPointerException
, 213, 222, 321, 358, 361, 364, 366, 394, 399
RuntimeException
, 226, 395
this
keyword
instanceof
, evaluation, 385
extends
clause
private
, example, 111
protected
, example, 110
public
, example, 109
final
, 156
volatile
declaration not permitted for, 158
static
static
final
, binary compatibility considerations, 264
transient
, 156
volatile
, 156
super
keyword, 344, 345
this
keyword, 283
public
by default, 203
public
, by default in interface declaration, 202
final
modifier
final
by default in, interface declaration, 203
volatile
, 158
finalize
method, as member of Object
class, 45
finally
clause, exception handling use, 223
float
type, 35
float
type, floating-point literal specification, 24, 33
for
statement
return
statement, 302
goto
statement
if
statement, dangling else
handling, 284
if
statements
else
, handling of, 285
if-then
statement, specification, 288
if-then-else
statement, specification, 288
extends
clause; interfaces
implements
clause, 201
public
, protected
, and private
access, examples, 150
for
statement, 295
Test
class example initialization, 231
static
super
method invocation, 355
instanceof
operator
private
constructors, 139, 197
static
static
instanceof
operator
byte
type, 33
char
type, 33
int
type, 33
long
type, 33
short
type, 33
abstract
methods, 205
Cloneable
, implemented by arrays, 214
java.io.Serializable
, implemented by arrays, 214
public
Serializable
, implemented by arrays, 214
continue
statement, specification, 299
do
statement, specification, 293
for
statement, specification, 295
while
statement, specification, 292
.java
suffix, as name for source files, 122
java
package is always in scope, 125
java.lang
public
type names automatically imported from, 119, 123
java.lang
package
public
type names automatically imported from, 128
public
types defined in, list of, 128
LF
)
Test
class example, at virtual machine startup, 230
ClassLoader
class; execution; linking
Test
class example, at virtual machine startup, 230
synchronized
networks, 174
synchronized
statement, 304
long
type, 33
public
modifier, 137
static
, 140
private
, inheritance examples, 151
Object
class, 45
protected
accessibility of, 105
super
, 344
OutOfMemoryError
, 241, 242
OutOfMemoryError
, 176
abstract
private
, example, 111
protected
, example, 110
public
, example, 109
static
abstract
, 170
final
, 172
native
private
, as implicitly final
, 172
strictfp
, declaration, 173
synchronized
, declaration, 174
void
, expression return statement not permitted in, 177
equals
, as member of Object
class, 45
final
, 172
finalize
, as member of Object
class, 45
getClass
, as member of Object
class, 45
hashCode
, as member of Object
class, 45
static
native
, 173
static
notify
, as member of Object
class, 45
notifyAll
, as member of Object
class, 45
final
, 168
private
, in example of qualified names and access control, 111
public
, interfaces, declarations, 205
static
, binary compatibility considerations, 269
stop
, as asynchronous exception cause, 220
synchronized
, 174
throws
clause, binary compatibility considerations, 270
toString
, as member of Object
class, 45
uncaughtException
wait
, as member of Object
class, 45
abstract
modifier; final>
modifier; private
modifier; protected
modifier; public
modifier; static
modifier; strictfp
modifier; synchronized
modifier;transient
modifier
native
modifier
static
members if non-inner, 140
public
byte
type; char
type; double
type; float
type; floating-point; int
type; integers; integral type; long
type; short
type
Class
, array, 215
final
modifier effect on changes to, 50, 156
Object
class, 44, 215
transient
fields not part of, 156
java
and java.lang
are, 123
final
method inlining, 172
abstract
interface methods
throws
, example, 186
abstract
abstract
classes, 170
abstract
instance methods, 171
public
types from a, 127
final
, 168
native
methods are, 173
Test
class example, at virtual machine startup, 230
private
constructors, 139
private
modifier
abstract
not permitted with, 170
final
, 172
protected
modifier
public
modifier
protected
accessibility of constructor, 106
protected
accessibility of superclass constructor, 106
super
, 193
protected
accessibility, 106
Test
class example, at virtual machine startup, 230
return
statement
RuntimeException
class
for
statement, 86, 295
;
)
short
type
[]
)
transient
fields not part of persistent, 156
break
continue
do
for
if
else
handling, 285
if-then
, specification, 288
if-then-else
, specification, 288
return
switch
synchronized
throw
try
try-catch
, specification, 307
try-catch-finally
, specification, 308
while
static
modifier
static
modifier
static
modifier
strictfp
modifier
String
class
super
keyword
super
, expression evaluation, 344
Object
, 215
extends
clause, 142
public
, accessing instances of non-public subclasses through, 151
implements
clause, 144
public
, accessing instances of non-public subclasses through, 151
switch
statement
synchronized
methods, 174
synchronized
statement, 304
synchronized
modifier
synchronized
statement
volatile
fields used for, with threads, 156
abstract
, 137
final
, 139
strictfp
, 139
final
, 156, 203
static
, 155
static
, 155, 203
transient
, 156
volatile
, 156
strictfp
, 200
abstract
, 170, 205
final
, 172
native
, 173
static
, 172
static
, 171
synchronized
, 174
static
final
, 50
Test
this
keyword
synchronized
statement, 304
synchronized
modifier, methods, declaration, 174
volatile
fields use with, 156
throw
statement
throws
clause, 189
private
access, 105
public
modifier, 137
transient
modifier
try
statements
try-catch
statement, specification, 307
try-catch-finally
statement, specification, 308
boolean
char
double
, floating-point literal specification, 24
float
, floating-point literal specification, 24
int
, integer literal specification, 21
long
, integer literal specification, 21
String
, 45
return
statement, 302
boolean
, term definition and specification, 40
double
, nonatomic treatment of memory operations on, 435
static
long
, nonatomic treatment of, memory operations on, 435
volatile
, rules about, 437
class
file format specified in, 252, 253
void
keyword
volatile
modifier
final
declaration not permitted for, 158
while
statement
Contents | Prev | Next | Index | Java Language Specification Second Edition |
Java Language Specification (HTML generated by Suzette Pelouch on May 16, 2000)
Copyright © 2000 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to jls@java.sun.com