Reserved Words in Java Programming

Reserved Words in Java Programming

Previous Home Next

 

Reserved Words in Java Programming these are the words which are reserved and cannot be used as identifiers or for any purpose in java. each word has its own meaning.


 

list of reserved words:
abstract,assert,Boolean,break,byte,case,catch,char,class,const(is not in used),continue,default,do,double,else,enum,extends,final,finally,float,for,goto(is not in used),if,for
implements,import,instanceof,int.interface,long,native,new,package,private,public,protected,return,short,static,
strictfp,super,switch,synchronized,this,throw,throws,transient,void,volatile,while

these are 48 reserved keywords in java out of which two are not in use
these two keywords are consts,goto

 

Previous Home Next