java_关键字分类

各关键字用法参考:http://wenku.baidu.com/view/85296741a8956bec0975e3d1.html

java全部关键字 48个

abstract    boolean    break    byte    case    catch    char    class    continue    default    do    double    else    extends    false    final    finally    float    for    if    implements    import    instanceof    int    interface    long    native    new    null    package    private    protected    public    return    short    staticd    super switch    synchronize    this    throw    throws    transient    try    true    void    volatile    while
                
结构控制 11
break 
case
continue
default
do
else
for
if
switch
return
while


变量声明 9
boolean
byte
char
double
float
int
long
short
void
变量相关 5
native //申明为其它语言函数
false
true
null

instanceof //判断是否为某类 if(a instanceof ACLASS){}





类关键字 14
abstract
class
extends
final
implements
interface
new
private
protected
public
static
super
this
transient //在Serializable中略过某信息


异常处理 5
try
catch
finally //对变量进行清理
throw
throws


包 2
import
package


同步 2
synchronized //方法只允许一个类同时进行执行
volatile       //控制并行方法读取的是同一个值













你可能感兴趣的:(java)