
public class Scoping2
{
    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
 
        x = 5;
        a = 5;
    }                  // end of the scope of a
}
