Java Keywords

Java keywords:
  • It is a word that have special meaning.
  • Identifiers name cannot be keywords
  • null, true and false are not keyword
Example:
byte                            switch                           try
short                           extends                          catch
int                             implements                       finally
strictfp                        long                             throw
float                           protected                        throws
double                          public                           return
boolean                         private                          void
char                            package                          import
class                           if                               this 
interface                       else                             super
abstract                        default                          break
final                           case                             continue
static                          do                               volatile
synchronized                    while                            for

No comments:

Post a Comment