[单选择]编译运行以下程序后,关于输出结果的说明正确的是 ( ):

public class Conditional{

public static void main(String args[ ]){

int x=4;

System.out.println(“value is “+ ((x>4) ? 99.9 :9));

}

}

  1. 输出结果为:value is 9.0
  2. 输出结果为:value is 9
  3. 编译错误
  4. 输出结果为:value is 99.99
参观人数:1124 ,参试人数:13,正确率:54%