给出下列代码片段
If(x>0){
System.out.println("first");
}
Else if(x>-3){
System.out.println("second");
} else {
System.out.println("third");
}
请问x处于什么范围时将打印字符串” second”
A.x>0 B.x>-3 C.x<=-3 D.x<=0 &&x>-3正确答案D
给出下列代码片段
If(x>0){
System.out.println("first");
}
Else if(x>-3){
System.out.println("second");
} else {
System.out.println("third");
}
请问x处于什么范围时将打印字符串” second”
A.x>0 B.x>-3 C.x<=-3 D.x<=0 &&x>-3正确答案D