您的位置:首页 > 编程语言 > Java开发

Java关键字

2006-12-19 20:28 302 查看
用于类和接口的声明:class, extends, implements, interface

包引入和包声明:import, package

数据类型:boolean, byte, char, short, int, long, float, double

某些数据类型的可选值:false, true, null

流程控制:default, return, if, else, for, switch, case, do, while, break, continue,

异常处理:try, catch, finally, throw, throws

修饰符:abstract, final, native, private, protected, public, static, static, synchronized, transient, volatile

操作符:instanceof

创建对象:new

引用:this, super

方法返回类型: void

Java保留字:const和goto

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息