單項(xiàng)選擇題

int index = 1;  
String test = new String;  
String foo = test[index]; 
What is the result?()

A.  Foo has the value “”
B. Foo has the value null
C. An exception is thrown
D. The code will not compile

題目列表

你可能感興趣的試題

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