方法一:
int a=3;
int b=5;
a=a*b;
b=a/b;
a=a/b;
System.out.println("a="+a+",b="+b);
方法二:
int a=3;
int b=5;
a=a+b;
b=a-b;
a=a-b;
System.out.println("a="+a+",b="+b);
方法三:
int a=3;
int b=5;
a=a^b;
b=a^b;
a=a^b;
System.out.println("a="+a+",b="+b);