单项选择题
假定有变量定义:int k=7,x=12;则下列选项中值为4的表达式是()。
A、x%=(k%=5)
B、x%=(k-k%5)
C、(x%=k)-(k%=5)
D、x%=k-k%5
点击查看答案
相关考题
-
单项选择题
下面代码执行后,正确的输出结果是()。
A、You are fired! You are hired!
B、You are fired! You are fired!
C、You are hired! You are hired!
D、You are hired! Youarefired! -
单项选择题
下列常见的系统定义的异常中,属于主机网络故障异常的是()。
A、Class Not Found Exception
B、IOException
C、File Not Found Exception
D、Unknown Host Exception -
单项选择题
分析下面程序,其正确的输出结果是()。
A、true,true
B、true,false
C、false,true
D、false,false
