• 2022-06-30
    下列语句能给数组赋值而不使用for循环的是
    A: myArray{[1]="One";[2]="Two";[3]="Three";}
    B: String s[5]=new String[]{"Zero", "One", "Two", "There", "Four"};
    C: String s[]=new String[]{"Zero", "One", "Two", "There", "Four"};
    D: String s[]=new String[]=|"Zero", "One", "Two", "There", "Four"};