不用第三个变量,互换两个变量的值
摘要:
分享一下:public class VariableExchange { public static void main(String[] args) { int a=1; int b=4; a=a ^ b; System.out.pri... 阅读全文
posted @ 2015-04-24 15:03 IT Ⅳ 阅读(176) 评论(0) 推荐(0) 编辑
posted @ 2015-04-24 15:03 IT Ⅳ 阅读(176) 评论(0) 推荐(0) 编辑