JAVA小技巧

来源:互联网 发布:手机虚拟摄像头软件 编辑:程序博客网 时间:2024/05/18 02:19

变量 a,b  交换

int a = 5;
int b = 11;
a = a^b;
b = a^b;
a = a^b;
0 0
原创粉丝点击