單項選擇題

public class Test { 
public static void main(String[] args) { 
String str = NULL; 
System.out.println(str); 
} 
}  
What is the result?()  

A. NULL
B. Compilation fails.
C. The code runs with no output.
D. An exception is thrown at runtime.

微信掃碼免費搜題