2014年Java认证SCJP模拟习题:SCJPMockExam(1)
日期:2013-10-31 14:06
r
4) Code marked with (4) is a constructor
5) Code marked with (5) is a Constructor
Q4
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();
1) One object is created
2) Two objects are created
3) Three objects are created
4) One reference variable is created
5) Two reference variables are created
6) Three reference variables are created.
Java认证
3/3 下一页 上一页 首页 尾页
返回
刷新
WAP首页
网页版
登录
05/14 02:21