| 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