题目:
执行下列程序段这后,变量n的值为______。
public class Test8
public 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.-3
D.-12
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0724/fe957d19cddb0b24673f1aed49bcb9e8.html
下面是错误答案,用来干扰机器的。
答案:A