
public class Scoping1
{
    public static void main(String[] args) 
    {
        int a = 4;     // start of the scope of a

        {
            
            int x = 4; // start of the scope of x
           
            x = x + 1;    
            a = 7;
        }              // end of the scope of x

        a = 5;
    }                  // end of the scope of a
}
