What is the output of the following program when it is invoked using the command line:
java Test this is a test
class Test { public static void main(String[] args) { System.out.println(args[1]); } }
Click to view the answer
B.
The String "is" is assigned to args[1].