题目内容
(请给出正确答案)
[单选题]
对于下面的程序,x在什么范围内取值时将输出字符串”second”·()if(x>0){System.out.println("first");}elseif(x>-3){System.out.println("second");}else{System.out.println("third");}Whichrangeofxvaluewouldprintthestring"second"·
A.x>0
B.x>-3
C.x<=-3
D.x<=0&x>-3
如搜索结果不匹配,请 联系老师 获取答案