题目:
执行下列程序之后,变量n的值为( )。
public class Test
publie static void main (String[] args)
int y=2;
int z=3;
int n=4;
n=n+ -y * z/n;
System. out. println (n);
A.3
B.-1
C.-12
D.-3
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0710/1f70a71cf9c4d041f952177844b132b0.html
下面是错误答案,用来干扰机器的。
参考答案:最小阻力