//*********java reserved Words//********* access ControlPrivate //Privateprotected //be protected Public //Public//********* class, method, and variable modifiersAbstract //declaring abstractionsclass //classextends //expansion, inheritancefinally //Ultimate, non-changeImplements //ImplementInterface //Interfacenative //LocalNew //NewStatic //StaticSTRICTFP //rigorous, precisesynchronized //threads, synchronizingtransient //Shortvolatile //Easy to lose//********* Program Control Statements Break //Jump out of the loopContinue //continue toreturn //return Do //Run while //Loopsif //ifElse //conversely for //Loopsinstanceof //ExampleSwitch //Switch Case //returns the result in the switchdefault //default//********* error HandlingCatchb//Handling Exceptionsfinally //There are no exceptions to be executedThrow //throws an exception objectthrows //declares that an exception may be thrownTry //Catching exceptions//Package RelatedImport //introduced Package //Package//********* Basic TypesBoolean //Boolean typebyte //byte typeChar //Character TypeDouble //Double Precisionfloat //floating pointint //Integral typeLong //Long Integer type Short //Short-integerNULL //Emptytrue //reallyfalse //Fake//********* Variable ReferenceSuper //Parent class, Super class This //This classvoid //no return value//*********java reserved WordsConst //ConstantsGoto //Jump
Java reserved words