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

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
  2. 输出结果为:value is 9.0
  3. 输出结果为:value is 99.99
  4. 编译错误
参观人数:1054 ,参试人数:13,正确率:54%