Java Keywords

Java Keywords must be in your information because you can not use them as variable name.

Java Reserved Keywords List

You can’t use keyword as identifier in your Java programs, its reserved words in Java library and used to perform an internal operation.
abstractassertbooleanbreak
bytecasecatchchar
classconstcontinuedefault
dodoubleelseenum
extendsfinalfinallyfloat
forgotoifimplements
importinstanceofintinterface
longnativenewpackage
privateprotectedpublicreturn
shortstaticstrictfpsuper
switchsynchronizedthisthrow
throwstransienttryvoid
volatilewhile
true, false and null are not reserved words but cannot be used as identifiers, because it’s literals of built-in types.



                                                                      ⏪ PREVIOUS PAGE          NEXT PAGE ⏩

No comments:

Post a Comment