• 2022-06-16
    下面代码的运行结果是( )。public class Test {public static void main(System[] args){int[ ] a ={10,20,30};int[ ] b ={1,2,3,4,5};a=b;for (int i=0;i<a.length;i++){System.out.print(a[i]+” ”);}}}[/i]
    A: 程序报错
    B: 10 20 30
    C: 1 2 3 4 5
    D: 1 2 3