| Separator Purpose |
| ( ) | Encloses arguments in method definitions and calling; adjusts precedence in arithmetic expressions; surrounds cast types and delimits test expressions in flow control statements |
| { } | defines blocks of code and automatically initializes arrays |
| [ ] | declares array types and dereferences array values |
| ; | terminates statements |
| , | separates successive identifiers in variable declarations; chains statements in the test, expression of a for loop |
| . | Selects a field or method from an object; separates package names from sub-package and class names |
| : | Used after loop labels |