Table of Contents目录
abstract
sealed
, non-sealed
, and final
Classessealed
类、non-sealed
类和final
类public
final
Fields and static
Constant Variablesfinal
字段和static
常量变量static
transient
abstract
final
native
static
synchronized
if
Statementif
语句assert
Statementassert
语句switch
Statementswitch
语句while
Statementwhile
语句do
Statementdo
语句for
Statementfor
语句break
Statementbreak
语句continue
Statementcontinue
语句return
Statementreturn
语句throw
Statementthrow
语句synchronized
Statementsynchronized
语句try
statementtry
语句yield
Statementyield
语句&&
||
? :
switch
&&
||
!
? :
switch
boolean
boolean
型的其他表达式++
and --
++
和--
if
assert
switch
while
do
for
break
, yield
, continue
, return
, and throw
Statementsbreak
语句、yield
语句、continue
语句和return
语句synchronized
try
final
double
and long
double
和long
的非原子处理List of Examples示例清单
String
String
public
Fields, Methods, and Constructorspublic
字段、方法和构造函数的访问public
and Non-public
Classespublic
和非public
类private
Fields, Methods, and Constructorsprivate
字段、方法和构造函数的访问protected
Fields, Methods, and Constructorsprotected
字段、方法和构造函数的访问requires
transitive
directivesrequires
transitive
指令的解决public
and protected
Class Memberspublic
类成员和protected
类成员的继承private
Class Membersprivate
类成员的继承static
transient
Fieldstransient
字段的持续性volatile
synchronized
synchronized
throws
Throw
引发的错误重写for
Loopfor
循环迭代枚举常量abstract
Method Declarationabstract
抽象方法声明ArrayStoreException
Class
Object Of ArrayClass
对象Class
Objects Are SharedClass
对象是共享的static
Field Is Initializedstatic
字段的类final
final
变量abstract
abstract
方法final
final
方法var
var
声明的局部变量var
var
声明的局部变量的类型switch
Statementswitch
语句中的Fall-Throughdo
Statementdo
语句for
And Arraysfor
和数组for
And Unboxing Conversionfor
和拆箱转换break
Statementbreak
语句continue
Statementcontinue
语句synchronized
Statementsynchronized
语句finally
finally
处理未捕获的异常yield
Statementyield
语句this
Expressionthis
表达式OutOfMemoryError
null
static
Field Accessstatic
字段访问无关super
Expressionsuper
表达式static
Methodsstatic
方法super
super
调用方法final
Fields In The Java Memory Modelfinal
字段final
Fields For Securityfinal
字段final
Fieldsfinal
字段的渐进优化