[单选题]阅读下列代码public class Example {public static void main(String[] args) { int[] srcArray = { 11, 12, 13, 14 }; int[] destArray = { 21, 22, 23, 24 }; System.arraycopy(srcArray, 1, destArray, 2, 2); for (int i = 0; i < destArray.length; i++) { System.out.print(destArray[i] + " "); }}}下列选项中,程序的运行结果是( )
广开题库
|
2023-11-01 15:18:41
|
18
[单选题]阅读下列代码public class Example {public static void main(String[] args) { int[] srcArray = { 11, 12, 13, 14 }; int[] destArray = { 21, 22, 23, 24 }; System.arraycopy(srcArray, 1, destArray, 2, 2); for (int i = 0; i < destArray.length; i++) { System.out.print(destArray[i] + " "); }}}下列选项中,程序的运行结果是( )

A.21221213
B.21221112
C.21111224
D.发生数组角标越界异常
查看答案

广东开放大学

形成性考核

您可能感兴趣的试题
TOP