Appendix A. Java Keywords

Keyword

Meaning

See Chapter

abstract

an abstract class or method

5

assert

used to locate internal program errors

11

boolean

the Boolean type

3

break

breaks out of a switch or loop

3

byte

the 8-bit integer type

3

case

a case of a switch

3

catch

the clause of a try block catching an exception

11

char

the Unicode character type

3

class

defines a class type

4

const

not used

 

continue

continues at the end of a loop

3

default

the default clause of a switch

3

do

the top of a do/while loop

3

double

the double-precision floating-number type

3

else

the else clause of an if statement

3

extends

defines the parent class of a class

4

final

a constant, or a class or method that cannot be overridden

5

finally

the part of a try block that is always executed

11

float

the single-precision floating-point ...

Get Core Java™ 2 Volume I - Fundamentals, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.