一.运算符:优先级,结合性
instanceof 实例
|
volatile 易失
|
super 父类,超类
|
transient 短暂
|
synchronized 线程,同步
|
strictfp 严格,精准
|
package 包
|
throws 声明一个异常可能被抛出
|
native 本地
|
throw 抛出一个异常对象
|
try 捕获异常
|
catch 处理异常
|
finally 有没有异常都执行
|
switch 开关
|
case 返回开关里的结果
|
this 本类
|
boolean 布尔型
|
byte 字节型
|
char 字符型
short 短整型
|
int 整型
float 浮点
|
double 双精
long 长整型
|
default 默认
|
void 无返回值
|
return 返回
|
if 如果
|
else 反之
|
for 循环
|
while 循环
|
do 运行
|
break 跳出循环
|
continue 继续
|
null 空
|
false 假
|
true 真
|
static 静态
|
final 终极,不可改变的
|
new 新,创建
|
import 引入
|
||
class 类
|
extends 扩允,继承
|
interface 接口
|
implements实现
|
abstract 声明抽象
|
private 私有的
|
public 公共的
|
protected 受保护的
|
int x=in.nextInt();