Keywords |
Keywords are language specific and cannot be used for any other purpose other than they are intended for. Example of Java keywords: class, int, public, static, void etc. |
Identifiers |
Identifiers are used to identify classes, variables, constants etc. Identifiers must start with a letter Class 1 // NOT allowed {} class One // OK {} |
Separators |
() used to contain lists of parameters in method, surrounding cast types, expressions in control statement {} defining a block of code for classes, methods etc [ ] used to declare array types ; terminating statements , separate identifiers, chain statements inside for statement . used to indicate a method or variable in a object |