注意:此页面搜索的是所有试题
                题目内容
                (国际开放大学Java语言程序设计)
            
            
                下列代码段, x处于(   )范围时将打印字符串"second" 。  
if(x>0){ System.out.println("first"); }
else if(x>-3){ System.out.println("second"); }
else { System.out.println("third"); }
A. x>0 B. x>-3
C. x<=-3 D. x<=0&&x>-3
                
                    
                    
                    
                
                
                
            
        if(x>0){ System.out.println("first"); }
else if(x>-3){ System.out.println("second"); }
else { System.out.println("third"); }
A. x>0 B. x>-3
C. x<=-3 D. x<=0&&x>-3
参考答案
 
                