class X {
public static void main(String[] args) {
int i = 0;
while (i++ < args.length) {
System.out.print(args[i]);
}
}
}
Assume the above main method is invoked using the following
command line.
java X A B C D E F
What is the result of attempting to compile and run the program using the specified command line?
a. Prints: XABCDEF
b. Prints: ABCDEF
c. Compile-time error
d. Run-time exception
e. None of the Above
