摘要: public class tt { /** * 不用第三个变量互换2变量的值 * @author gx * Feb 10, 2014 2:46:37 PM */ public static void main(String[] args) { int a = 5; int b = 6; a = a+b; b = a-b; a = a-b; System.out.println(a+" "+b); a=a^b; b=... 阅读全文
posted @ 2014-02-10 14:52 流星焱雨 阅读(316) 评论(1) 推荐(0) 编辑