问题详情

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.

时间:2022-01-11 16:41 关键词: SCJP程序员认证考试

答案解析

B | F
相关问题