Header Ads

Reserved Words In Java or Java Keywords Classification

Reserved Words In Java | Java Keywords Classification

Reserved Words In Java | Java Keywords Classification

Image Credits :Internet 
Reserved Words In Java

 In Java Some words are Reserved to represent some meaning or functionality such type of words are called Reserved words.

  • Keywords for Data types (8)

  1. byte 
  2. short
  3. int
  4. long
  5. float
  6. double
  7. boolean
  8. char 
  • Keywords for flow control (11)

  1. if
  2. else
  3. switch
  4. case
  5. default
  6. while
  7. do
  8. for
  9. break
  10. continue
  11. return
  •  Keywords for Modifiers(11)

  1. public 
  2. private
  3. protected
  4. static
  5. final
  6. abstract
  7. synchronized
  8. native
  9. strictfp
  10. transient
  11. volatile
  •  Keywords for Expection Handling(6)

  1. try
  2. catch
  3. finally
  4. throw
  5. throws
  6. assert
  • Keywords for Class(6)

  1. class 
  2. interface
  3. extends
  4. implements
  5. package
  6. import
  • Keywords for Object(4)
  1. new 
  2. instanceof
  3. super
  4. this
  • Keyword for return type(1)

  1. void
  • Keyword for Literals(3)

  1. true
  2. false
  3. null
  • Unused Keywords(2)

  1. goto
  2. const
  • Enum Keyword(1)

  1. enum
All 53 Reserved Words in Java contain only Lower Case alphabet symbols.

No comments:

Theme images by Matt Vince. Powered by Blogger.