- One variable per declaration (and at most one declaration per line)
- Square brackets of arrays should be at the type (
String[] args
) and not on the variable (String args[]
).
- Declare a local variable right before it is first used, and initialize it as close to the declaration as possible.