main不是关键字,关键字列表如下
1.用于类和接口的声明:class,extends,implements,interface.
2。包引入和包声明:import,package
3.数据类型:byte,boolean,char,double,int,long,float,short.
4某些数据类型的可选值:flase,ture,null.
5.流程控制:break,case,continue,default,do,else,for,if,return,switch,while
6.异常处理:catch,finally,throw,throws,try,
7.修饰符:abstract,final,native,private,protected,public,static,synchronilzed,transient,volatitle.
8.操作符: instanceof
9.创建对象:new
10.引用:this,supper
11.方法返回类型:void
12.保留字:const,goto. |