Tuesday 12 June 2012

Java Keywords Categorized

I'd recently looking at the java keywords and thought of categorizing them to make it easier to memorize.

I'd worked on them and categorized on my best but as everything is never perfect so I need your suggestions and support to make them more effective.

Here I'd categorized them as:

  1. Data Types:
    1. byte
    2. short
    3. int
    4. long
    5. float
    6. double
    7. char
    8. boolean
    9. strictfp
  2. Control Statements:
    1. if
    2. else
    3. for
    4. while
    5. do
    6. switch
    7. case
    8. default
    9. break
    10. continue
  3. Access Specifier / Modifier:
    1. public
    2. protected
    3. private
    4. static
  4. Class / Object / Method:
    1. class
    2. interface
    3. enum
    4. abstract
    5. super
    6. this
    7. new
    8. extends
    9. implements
    10. instanceof
    11. void
    12. return
    13. native
    14. final
  5. Exception Handling:
    1. try
    2. catch
    3. finally
    4. throw
    5. throws
  6. Package:
    1. package
    2. import
  7. Threading / IO:
    1. synchronized
    2. volatile
    3. transient
  8. Debugging:
    1. assert
  9. Reserved but not used:
    1. goto
    2. const
  10. Reserved for literals:
    1. true
    2. false
    3. null