class TestShadowing {
    static int x = 1;       // field variable
    int y = 10;             // field variable
    
    public static void main(String[] args) {
        int x = 0;          // local variable
        System.out.println("x = " + x);
        System.out.println("TestShadowing.x = " + TestShadowing.x);
        
        int y = 20;
        TestShadowing ts = new TestShadowing();
        System.out.println("y = " + y);
        System.out.println("ts.y = " + ts.y);
        
        
    }

}
