欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

有如下程序段      if(x>0) { System.out.println("first");}      else if (x > -4) { System.out.println("second");}      else { System.out.println("third");}  x的取值在什么范围内时,将打印出字符串“second"

A.x > 0
B.x > -4
C.x < = -4
D.x < = 0 & & x > -4
点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题