试题详情
单项选择题 Given the following code:     if (x>0) {  System.out.println("first");  }     else if (x>-3) {  System.out.println("second");  }     else {  System.out.println("third");  }  Which range of x value would print the string "second"?()    

A、 x > 0

B、 x > -3

C、 x <= -3

D、 x <= 0 & x > -3

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题