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.
正确答案:B,F
答案解析:有
微信扫一扫手机做题