int x = 1; int y = 2; x = x+y; y = x-y; x = x-y; System.out.println("x="+x); System.out.println("y="+y);