下列代码中 if(x>0) {System.out.println("first");} else if (x>-3){System.out.println("second");} else { System.out.println("third");} 要求打印字符串为"second"时,x的取值范围是( )。A.x≤0 并且 x>-3B.x>0C.x>-3D.x≤-3

下列代码中 if(x>0) {System.out.println("first");} else if (x>-3){System.out.println("second");} else { System.out.println("third");} 要求打印字符串为"second"时,x的取值范围是( )。

A.x≤0 并且 x>-3

B.x>0

C.x>-3

D.x≤-3


相关考题:

下列代码中if(xO){System.out.println(first);}elseif(x-3){System.out.println(second);)else{System.out.println(third);)要求打印字符串为“second”时,X的取值范围是( )。A.x-3B.x>0C.x>-3D.x

下列代码中if(x>0){System.out.println("first");} else if(x>-3)(System.out.println("second");} else{ System.out.println("third");}要求打印字符串为"second"时,x的取值范围是A.x<=0 并且 x>-3B.x>0C.x>-3D.x<=-3

下列代码中 if(x>0){System.out.println("first");} else if(x>-3){System.out.println("second");} else{System.out.println("third");} 要求打印字符串为"second"时,x的取值范围是( )。A.x≤0并且x>-3B.x>0C.x>-3D.x≤-3

下列代码中 if(x>0){System.out.println("first");} else if(x>-3){System.out.println("second");} else{System.out.println("third");} 要求打印字符串为“second”时,x的取值范围是A.x<=0并且x>-3B.x>0C.x>-3D.x<=-3

下列代码中 if(x>0){System.out.println("first");} elseif(x>-3){System.out.println("second");} else{System.out.println("third");} 要求打印字符串为"second"时,x的取值范围是( )。A.x<=0并且x>-3B.x>0C.x>-3D.x<=-3

下列代码中 if(xO){System.out.println("first");} elseif(x-3){System.out.println("second");) else{System.out.println("third");) 要求打印字符串为“second”时,X的取值范围是( )。A.x=0且x-3B.x0C.x-3D.x=-3

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

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

给出下列代码片段: if(x>0){System.out.println("first");} else if(x>-3){System.out.println("second");} else{System.out.println("third");} 当x处于( )范围时打印字符串"second"。A.x>0B.x>-3C.-3<x<=0D.x<=-3