试题详情
单项选择题 class Rectangle {   public static void main(String [] args) {   int [] x = {1,2,3};   x[1] = (x[1] 〉 1) ? x[2] : 0;   System.out.println(x[1]);   }   }   结果为:()  

A、0

B、1

C、2

D、3

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

热门试题