欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

java关键字汇总

程序员文章站 2022-03-23 22:44:56
关键字描述abstract抽象方法,抽象类的修饰符assert断言条件是否满足continue不执行循环体剩余部分defaultswitch语句中的默认分支do-while循环语句,循环体至少会执行一次double64-bit双精度浮点数elseif条件不成立时执行的分支enum枚举类型extends继承final表示定义常量finally无论有没有异常发生都执行代码float32-bit单精度浮点数forfor循环语句goto用于流程控制if....

java关键字汇总
关键字
描述
abstract
抽象方法,抽象类的修饰符
assert
断言条件是否满足
continue
不执行循环体剩余部分
default
switch语句中的默认分支
do-while
循环语句,循环体至少会执行一次
double
64-bit双精度浮点数
else
if条件不成立时执行的分支
enum
枚举类型
extends
继承
final
表示定义常量
finally
无论有没有异常发生都执行代码
float
32-bit单精度浮点数
for
for循环语句
goto
用于流程控制
if
条件语句
implements
表示一个类实现了接口
import
导入类
instanceof
测试一个对象是否是某个类的实例
int
32位整型数
interface
接口,一种抽象的类型,仅有方法和常量的定义
long
64位整型数
native
表示方法用非java代码实现
new
分配新的类实例
package
一系列相关类组成一个包
private
表示私有字段,或者方法等,只能从类内部访问
protected
表示保护类型字段
public
表示共有属性或者方法
return
方法返回值
short
16位数字
static
表示在类级别定义,所有实例共享的
strictfp
浮点数比较使用严格的规则
super
表示基类
switch
选择语句
synchronized
表示同一时间只能由一个线程访问的代码块
this
调用当前实例或者调用另一个构造函数
throw
抛出异常
throws
定义方法可能抛出的异常
transient
修饰不要序列化的字段
try
表示代码块要做异常处理
void
标记方法不返回任何值
volatile
标记字段可能会被多个线程同时访问,而不做同步
while
while循环

U2FsdGVkX18zOro7TXpsJ5z7cfUVGS563tZbrHJtcxaYNM3xd1GvSOZzdY5B+lWa
82CtW8gWc8riOj5jtH1hTdQIyb8k/GnTx2QiSs/Fai++sAwSeQVWzTpr5x8Bv7YC
UQfHturkWeTRMhR5RtTKyRp7SaeTuLTZ6JEcePOLQPwIk8FzT0fnH3heq+CXa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wiNoLzC61zhvzRdyOT70Ljv
vqKlXjOkoZ8vfGDyhdBSaMB4F+mZjODsy5bLOh3pHWEDd1Y9WTlfSqw0qVH/bVE3
ZF3i3RIwq0NdRe50I6g7RKaje9bNneqINasqLmwN+SsMf1oDWc11LH7V28HOtRwl
cO7tNG/4SgYBMXyTZnUOROX/EahEeNswAhvhK7LjI6avEqmNM2/qkbNx2MVtoK70
5eETslShuRLiWcuIT5gqULNYhe26JRy9LkPaZI9+pUB2WAd7fkcuirQt0nmk6/6H
m5qdYBb0YsHNQSPYFfNatcWt6TVd2NSDHVhwsJuOzSiXQqNMneWAcNrjZFPduxBS
XgoIYcmwlPIhzirfDqpcA5t0QZi9px2d4z1fZ9oeXQXlp1CtylGviIsAINyZYo6g
SIappe58FBjYdrowk8DvT7CECRHA1SKcfpgvb3lFUSrX5w32uBu/MFVKE7F9spua
GjbqFkZDzWzFCIsSIz4iGsnOBi4tdJtPEJqA5JiBBrBN2RWG4HcvyP72+CxGxenU
yywq3yg2MWVdEkKEBC+otyizBeNaRSJDhtgYL1SqS+eKDjkQUXFr+iPvvruhKmpx
rCOq6kVrzI6mRBUQMb2hySqHZ7PbuYLKpRWLvwREySM=

本文地址:https://blog.csdn.net/xmh_sxh_1314/article/details/107585497

相关标签: 笔记