多选题
The following code segment is valid. True or false? int[][] square = new int[2][]; square[0] = new int[5]; square[1]=new int[3]; A. True B. False
A
B
【正确答案】
A
【答案解析】
代码示例是正确的,所以答案是true。B不正确,因为示例是正确的。
提交答案
关闭