下面代码的输出结果是:()。
public static void main(String[] args) {
int s1 = 50;
int s2 = 30;
s1 = s1 + s2;
s2 = s1 - s2;
s1 = s1 - s2;
System.out.println(s1 + "," + s2);
}
}
A. 50,30
B. 30,50
C. 50,80
D. 80,30
s1 = s1 + s2;表示什么意思?
s2 = s1 - s2;表示什么意思?
kstg5944571
Amos_落叶
乱舞的旋律
weibo_硪主浮沉_0
一切都是算计
相关分类