Java关键字:
1.访问控制: private私有的
protected受保护的
public公共的
2.类、方法和变量修饰符:
abstract声明抽象
class 类 extends 扩允,
继承 final 终极,
不可改变的implements实现
interface 接口 native本地
new新,创建 static静态
strictfp严格,精准synchronized线程,
同步 transient 短暂 volatile 易失
protected受保护的
2.类、方法和变量修饰符:
abstract声明抽象
继承
不可改变的implements实现
interface 接口
strictfp严格,精准synchronized线程,
同步
3.程序控制语句 :
break跳出循环
if 如果
switch开关
4.错误处理 :
catch处理异常
throws声明一个异常可能被抛出
5.包相关:
import引入
6.基本类型
int 整型
7.变量引用
Java保留字:目前还没用到,在未来可能用到
const
goto