问题:
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.
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();
● 参考解析
本题暂无解析
相关内容
相关标签