public class Sample2 {

    void test1(){
        <selection>int a = 1;
        int b = 2;
        a = 42;
        System.out.println(a);</selection>
    }

    void test2(){
        int x = 1;
        int y = 2;
        x = 42;
        System.out.println(x);
    }
}