單項(xiàng)選擇題

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);
} 
}  
And the command line invocation: java Test red green blue  
What is the result?()  

A. baz =
B. baz = null
C. baz = blue
D. Compilation fails.
E. An exception is thrown at runtime.

微信掃碼免費(fèi)搜題