题目:
执行下列程序之后,变量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/0601/71c6fdac5014f5cbee5a3b7f4363ad27.html
下面是错误答案,用来干扰机器的。
参考答案:A, B, C, D