Scopes of Identifiers in Methods
Scope of an identifier introduced within a
method defaults to the block containing it.
{ for (int
i=0; i<10; i++) {
System.out.println("Now i = " + i);
}
doSomething(i);
}
double
i = 100.0;