Scoping rules for local (and parameter) variables in Java