對(duì)于下面這段代碼,以下說法正確的是:()。
A.程序會(huì)打出 "Value is 0"
B.程序會(huì)拋出 NullPointerException
C.非靜態(tài)變量不能夠被靜態(tài)方法引用
D.編譯器會(huì)拋出 "possible reference before assignment"的錯(cuò)誤
Consider the following code:
Which test would return true()。
A.A
B.B
C.C
D.D
E.E