摘要: public void changeVal(){ int a = 2; int b = 3; System.out.println("交换前 a:"+a+",b:"+b); a = a+b; b = a-b; a = a-b; System.out.println("交换后 a:"+a+",b:"+b); } 阅读全文
posted @ 2019-11-05 17:01 存钱罐 阅读(756) 评论(0) 推荐(0) 编辑