1.

What will be the output of the program? public class Test { public static void main (String[] args) { String foo = args[1]; String bar = args[2]; String baz = args[3]; System.out.println("baz = " + baz); /* Line 8 */ } } And the command line invocation: > java Test red green blue

A. baz =
B. baz = null
C. baz = blue
D. Runtime Exception
Answer» E.


Discussion

No Comment Found