- A 0 0
- B 1 2
- C 0 0 0
- D 1 2 3
Java Programming Language MCQ Java Language Fundamental
⚠ Report ✓ Question Verified Copy Link
public class CommandArgsThree
{
public static void main(String [] args)
{
String [][] argCopy = new String[2][2];
int x;
argCopy[0] = args;
x = argCopy[0].length;
for (int y = 0; y < x; y++)
{
System.out.print(" " + argCopy[0][y]);
}
}
}
What will be the output of the program?
public class CommandArgsThree
{
publ
Learn More MCQ Questions from Java Programming Language MCQ Java Language Fundamental