6
Q:
A) 1 1 | B) 1 0 |
C) 1 0 3 | D) 1 2 3 |
Answer: D) 1 2 3
Explanation:
Explanation:
In argument[0] = args;, the reference variable arg[0], which was referring to an array with two elements, is reassigned to an array (args) with three elements.
Output:
$ javac main_arguments.java
$ java main_arguments
1 2 3