Java 关键字列表
(依字母排序 共51组)所有的关键字都是小写。
在IDE中都会显示不同的颜色:
abstract, assert,
boolean, break, byte,
case, catch, char, class, const, continue,
default, do, double,
else, enum,extends,
final, finally, float, for,
if,implements, import, instanceof, int, interface,
long,
native, new,
package, private, protected, public,
return,
short, static, strictfp, super, switch,synchronized,
this, throw, throws, transient, try,
void, volatile,
while
用于类的接口声明:class extends implements interface
包引入和包声明:import package
数据类型:boolean byte char short int long float double
某些数据类型的可先值:false true null
流程控制:break case continue default for do while if else return switch
异常处理:catch finally throw throws try
修饰符:abstract final native private protected public static synchronized transient volatile
操作符:instanceof
创建对象:new
引用:this super
方法返回类型:void
Java 保留字列表
(依字母排序 共14组) :
byValue, cast, false, future, generic, inner, operator, outer, rest, true, var , goto ,const, null
-------------
更多的Java,Angular,Android,大数据,J2EE,Python,数据库,Linux,Java架构师,:
http://www.cnblogs.com/zengmiaogen/p/7083694.html