scope

A scope is the range within a program for which a variable is valid.
* The scope of a loop variables remains with the loop only.
* The scope of a try variable remains with the try block only.
```
class Main{
    public static void main(String[] args) {
        for(int x=0; x<10; x++)
            System.out.println(x);
        //System.out.println(x); // error: cannot find symbol
    }
}
```