MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? Note: The command line invocation: > java Test red green blue 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 */ } } |
| A. | Baz = |
| B. | Baz = null |
| C. | Baz = blue |
| D. | Runtime Exception |
| Answer» E. | |