题目详情
单选题 现有: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. 3
B. 2
C. 1
D. 0
学科:编程基础
时间:2024-10-28 08:45:02
相关题目
相关作业