1. public class CommandArgsThree {
2. public static void main(
String [] args) {
3. String [][] argCopy = new String[2][2];
4. int x;
5. argCopy[0] = args;
6. x = argCopy[0].length;
7. for (int y = 0; y < x; y++) {
8. System.out.print(" " + argCopy[0][y]);
9. }
10. }
11. }
the answer is :
D. In line 5, the reference variable argCopy[0], which was referring to an array with
two elements, is reassigned to an array (args) with three elements
how did assign array of 2 elements to array of 3