THE Java™ Programming Language, Fourth Edition

(Jeff_L) #1
Tom Duff, Bell Labs

Table 1. Keywords
abstract continuefor new switch
assert default goto package synchronized
boolean do if private this
break double implementsprotectedtHRow
byte else import public throws
case enum instanceofreturn transient
catch extends int short TRy
char final interface static void
class finally long strictfp volatile
const float native super while
NOTE: Keywords marked with are unused


Table 2. Operator Precedence


Operator Type


Operator


Postfix operators


[]. (params)expr++expr--


Unary operators


++expr--expr+expr-expr~!


Creation or cast


new (type)expr


Multiplicative


* / %


Additive


+ -


Shift


<< >> >>>


Relational


< > >= <= instanceof

Equality


== !=

Free download pdf