public static void main(String[] args) { int a = 1, b = 2; int sum = a + b; a = sum - a; b = sum - a; System.out.println("a="+a+"\tb="+b); }复制代码