CMS专题

单选题下述代码执行后,有几个引用变量和几个对象?()   Student stu = new Student(“Mike”);  Student stua;  Stua = stu;A2个引用变量,1个对象B1个引用变量,1个对象C2个引用变量,2个对象D1个引用变量,2个对象

题目
单选题
下述代码执行后,有几个引用变量和几个对象?()   Student stu = new Student(“Mike”);  Student stua;  Stua = stu;
A

 2个引用变量,1个对象

B

 1个引用变量,1个对象

C

 2个引用变量,2个对象

D

 1个引用变量,2个对象

如果没有搜索结果,请直接 联系老师 获取答案。
更多相关问题