多項(xiàng)選擇題

Given that Thing is a class, how many objects and reference variables are created by the following code?()  
Thing item, stuff;  
item = new Thing();  
Thing entity = new Thing();

A.One object is created
B.Two objects are created
C.Three objects are created
D.One reference variable is created
E.Two reference variables are created
F.Three reference variables are created.

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