标签:des style color os io ar cti div
public class 数值交换{
public static void main(String[] args){
int A=1;
int B=2;
int t=A;//中间值
A=B;
B=t;
System.out.print("A的值是:"+A+"\nB的值是:"+B);
}
}
标签:des style color os io ar cti div
原文地址:http://www.cnblogs.com/javalittleman/p/3905658.html